#wpcontent, #wpfooter {
  background-color: white;
}
#wpbody {
  background-color: white;
}

input[type=date], input[type=datetime-local], input[type=datetime], input[type=email], input[type=month], input[type=number], input[type=password], input[type=tel], input[type=text], input[type=time], input[type=url], input[type=week], input[type=checkbox] {
  background-color: #EAEAEA !important;
}

.form-table th {
  float: left;
  min-width: 250px;
  width: auto;
}

.form-table td {
  vertical-align: middle;
  text-align: left;
  padding: 20px 10px 20px 0;
  font-size: 14px;
  line-height: 1.3;
  color: #1d2327;
  font-weight: 600;
  float: left;
  min-width: 200px;
  width: 280px;
  margin-right: 24px;
  margin-bottom: 0;
}

td input[type="color"],
td input[type="date"],
td input[type="datetime-local"],
td input[type="datetime"],
td input[type="email"],
td input[type="month"],
td input[type="number"],
td input[type="password"],
td input[type="search"],
td input[type="tel"],
td input[type="text"],
td input[type="time"],
td input[type="url"],
td input[type="week"],
td select,
td textarea {
  width: 100%;
}


.wp-core-ui .button-primary {
  padding: 0 16px;
  text-align: center;
}

.wp-core-ui .button-secondary {
  padding: 0 16px;
  text-align: center;
}

.idf-above-tabs-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.idf-page-note {
  background-color: #F1EA46;
  border: 1px solid #000;
  padding: 0.5em;
  font-weight: bold;
  width: max-content;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}

h3 .nav-tab {
  padding: 8px 16px;
  font-size: 14px;
}

.idf-section-header {
  display: flex;
  place-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #000;
  padding: 0.5em 0;
  margin: 0.5em 0;
}

.idf-section-header .idf-section-title {
  font-weight: 700;
  color: #000;
  padding: 0;
}

.idf-modal-trigger, .idf-tooltip {
  cursor: pointer;
}

.idf-tooltip:before {
  color: #2271b1;
}

/* The Modal (background) */
.idf-modal-background {
  justify-content: center;
  align-items: center;
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
@media (min-width: 961px) {
  .idf-modal-background {
    padding-left: 80px;
  }
}
.idf-modal-body, .idf-modal-footer {
  padding: 0 1em;
}

/* Modal Content */
.idf-modal-content {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  overflow-y: auto;
  max-height: 80vh;
  background-color: #F5F5F5;
  margin: auto 32px;
  padding: 0;
  justify-content: space-between;
  z-index: 1001; /* Ensure modal content is above the background */
  border: 1px solid #888;
  border-radius: 10px;
  min-width: 400px;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
  animation: fadeInModal 0.5s ease forwards; /* Fade in the whole modal */
}

.idf-modal-content .form-table th {
  /*min-width: initial;*/
}

.idf-modal-footer {
  text-align: left;
  padding: 1em;
  background: #fff;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
  position: sticky;
  bottom: 0;
  margin: auto;
}

@media (min-width: 783px) {
  .idf-modal-content {
    max-width: 680px;
    min-width: 600px;
  }
}

@media (min-width: 961px) {
  .idf-modal-content {
    max-width: 920px;
    min-width: 800px;
    margin: auto 58px;
  }
}

@media (min-width: 1200px) {
  .idf-modal-content {
    max-width: 1100px;
    min-width: 920px;
  }
}

/* Keyframes for the modal fade-in effect */
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.deck-styles-snippet {
  background: #f6f6f6;
  border: 1px solid #fff;
  margin: 0;
  padding: 20px 15px;
  max-width: 485px;
  overflow: hidden;
  display: block !important;
}

.deck-styles-snippet .idSSwrap {
  float: left;
  border: 1px solid #a6a6a6;
  background: #fbfbfb;
  margin: 0 2px 0 0;
  clear: none;
}

.deck-styles-snippet .idSSwrap span {
  float: left;
  clear: left;
  font-weight: 700;
  margin: 0 0 5px;
}

.deck-styles-snippet img {
  clear: both;
  display: block;
  width: auto;
  height: 140px;
}

.idf-tab-content-flex {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.idf-tab-content-flex .table-wrapper {
  margin: 0.75em 0;
}

.idf-tab-content-note {
  border: 1px solid #000;
  background-color: #FBF9F9;
  /*max-width: 450px;*/
  flex-basis: 40%;
  height: max-content;
  margin-top: 15px;

}

.idf-tab-content-note .idf-section-header {
  background-color: #EAEAEA;
  margin: 0;
  padding: 10px;
}

.idf-tab-content-flex form {
  width: 100%;
}

.idf-tab-content-note p, .idf-tab-content-note h3 {
  padding: 10px;
  margin: 0;
  font-size: 14px;
}

.idf-tab-content-note h4{
  padding: 10px;
  margin: 0;
  font-weight: 700;
  font-size: 18px;
}

.wp-admin .sidebar.ignitiondeck .icon32 {
  display: inline-block;
  width: 32px;
  height: 32px;
  background-image: url(../images/ignitiondeck-plugin-icon.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 32px 32px;
  vertical-align: middle;
}

.wp-admin .sidebar.ignitiondeck h2.title {
  color: #434f60;
  font-size: 36px;
  line-height: 48px;
  letter-spacing: 0;
  display: inline;
  vertical-align: bottom;
}

.wp-admin .widefat {
  table-layout: auto !important;
}

.idf-fixed-field-width {
  min-width: 300px;
}

.idf-settings-feedback{
  border-radius: 5px;
  padding: 5px 10px;
  border-style: solid;
  border-width: 1px;
}

.idf-settings-feedback {
  display: none;
}

.idf-settings-feedback.is-success{
  background-color: #edf7ef;
  border-color: #b6deb9;
}

.idf-settings-feedback.is-error{
  background-color: #f7eeeb;
  border-color: #f1b6b3;
}

.idf-settings-feedback.is-warning{
  background: linear-gradient(0deg, rgba(247, 144, 9, 0.08), rgba(247, 144, 9, 0.08)), #FFFFFF;
  border-color: rgba(247, 144, 9, 0.32);
}

.wp-core-ui .button-danger {
  background: #cc1818;
  color: white;
  border-color: #cc1818;
}

.notice, div.error, div.updated {
  position: relative;
  box-sizing: border-box;
  min-height: 48px;
  margin: 15px 0 !important;
  padding: 12px 12px 12px 50px;
  background-color: #e7eff9;
  border-width: 1px;
  border-style: solid;
  border-color: #9dbaee;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.1);
  color: #344054;
}

.notice-dismiss {
  top: 4px;
}

.notice-dismiss:before {
  content: "";
  display: block;
  position: relative;
  z-index: 600;
  width: 20px;
  height: 20px;
  background-color: #667085;
  border: none;
  border-radius: 0;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-image: url(../assets/icon-close.svg);
  mask-image: url(../assets/icon-close.svg);
}

.notice-success,div.updated {
  background-color: #edf7ef;
  border-color: #b6deb9;
}

.notice-success.notice-alt {
  background-color: #edf7ef;
}

.notice-warning {
  background: linear-gradient(0deg, rgba(247, 144, 9, 0.08), rgba(247, 144, 9, 0.08)), #FFFFFF;
  border-color: rgba(247, 144, 9, 0.32);
}

.notice-warning.notice-alt {
  background: linear-gradient(0deg, rgba(247, 144, 9, 0.08), rgba(247, 144, 9, 0.08)), #FFFFFF;
}

.notice-error,div.error {
  background-color: #f7eeeb;
  border-color: #f1b6b3;
}

.notice-error.notice-alt {
  background-color: #f7eeeb;
}

.notice-info {
  background-color: #e7eff9;
  border-color: #9dbaee;
}

.notice-info.notice-alt {
  background-color: #e7eff9;
}

.notice p {
  flex: 1 0 auto;
  max-width: 100%;
  line-height: 18px;
  margin: 0;
  padding: 0;
}

.notice:before, div.error:before, div.updated:before {
  content: "";
  display: block;
  position: absolute;
  top: 15px;
  left: 18px;
  z-index: 600;
  width: 16px;
  height: 16px;
  background-color: #fff;
  border: none;
  border-radius: 0;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-image: url(../assets/icon-info-solid.svg);
  mask-image: url(../assets/icon-info-solid.svg);
  margin: .5em 0;
  padding: 2px;
}

.notice:after, div.error:after, div.updated:after {
  content: "";
  display: block;
  position: absolute;
  top: 9px;
  left: 12px;
  z-index: 500;
  width: 28px;
  height: 28px;
  background-color: #2D69DA;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.1);
  margin: .5em 0;
  padding: 2px;
}

select option:checked {
  background-color: #2D69DA;
  color: #FFFFFF;
}

.notice-success:before, div.updated:before {
  -webkit-mask-image: url("../assets/icon-check-circle-solid.svg");
  mask-image: url("../assets/icon-check-circle-solid.svg");
}
.notice-success:after, div.updated:after {
  background-color: #52AA59;
}

.notice-error:before, div.error:before {
  -webkit-mask-image: url(../assets/icon-error.svg);
  mask-image: url(../assets/icon-error.svg);
}
.notice-error:after, div.error:after {
  background-color: #D13737;
}

.notice-warning:before {
  -webkit-mask-image: url(../assets/icon-warning.svg);
  mask-image: url(../assets/icon-warning.svg);
}
.notice-warning:after {
  background-color: #F79009;
}

form#idmember-dash {
  width: 100%;
}

form#idmember-dash .dashboardlayout ul{
  display: inline-flex;
  gap: 52px;
}

.idf-bold {
  font-weight: 700;
}

.dashboard-layout-section {
  display: flex;
  gap: 32px;
  margin: 10px 0;
}

.dashboard-layout-section th {
  width: 200px;
  text-align: left;
  font-weight: 600;
  font-size: 1.1em;
  padding: 20px 0;
}

.dashboard-layout-section .section-thumb {
  width: 45px;
  color: #49566A;
  border: 1px solid #C8D3DC;
  font-size: 24px;
  vertical-align: middle;
  display: flex;
  place-items: center;
  box-sizing: border-box;
  background-color: #EBECF3;
  justify-content: center;
}

.dashboard-layout-section select {
  width: 100%;
}

.memberdeck iframe {
  height: 400px !important;
}

.idf-tab-content-flex #email-template-settings {
  background-color: #F8F9FB;
  height: max-content;
  margin-top: 15px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid #c3c4c7;
  box-shadow: 0 0px 7px rgba(0, 0, 0, .02);
}

.md-admin .list-shortcode {
  color: #2D69DA;
  font-size: 110%;
  line-height: 2;
  padding: 5px;
  background-color: #e7eff9;
  border: 1px solid #9dbaee;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.1);
}

.hide {
  display: none;
}

.mdid-project-grid {
  width: 24%;
  float: left;
  margin: 0 1% 0 0;
}

.mdid-project-grid:nth-child(4n + 5) {
  clear: both;
}

.coin-payments-merchant-details-confirmation {
  background-color: #EAEAEA;
  border: 1px solid #000;
}

.coin-payments-merchant-details-confirmation div {
  padding: 0 10px;
}

.coin-payments-merchant-details-confirmation h3, .coin-payments-merchant-details-confirmation p {
  margin: 0.25em 0;
}

.idf-scroll {
  border-radius: 10px !important;
}
.idf-scroll::-webkit-scrollbar-thumb {
  background: #2271b1;
  border-radius: 10px !important;
  background-clip: padding-box;
}
.idf-scroll::-webkit-scrollbar-thumb:hover {
  background: #135e96;
}
.idf-scroll::-webkit-scrollbar-track {
  background: #e7eff9;
  border-left: 1px solid transparent;
  border-radius: 10px !important;
}
.idf-scroll::-webkit-scrollbar {
  scroll-behavior: smooth !important;
}

.select2-container--default .select2-selection {
  background-color: #EAEAEA !important;
}

.select2-container {
  max-height: 400px;
}

.idf-modal-content .select2-container--open {
  z-index: 10000000;
  position: relative;
  top: 0;
  left: 0;
}

.select2-search--inline {
  margin-bottom: 0;
}

.select2-container--disabled {
  opacity: 0.5;
}

.idc-platform-checkout-terms-settings .select2{
  margin-bottom: 16px;
}

.idc-gateways-modal-trigger {
  width: 50px !important;
  min-width: 50px !important;
}