/* Settings Tabs */

$primary-color: #007bff;
$success-color: #28a745;
$danger-color: #dc3545;
$copy-bg: #f0f0f0;
$copy-bg-success: #d1e7dd;
$copy-text-success: #155724;
$white-color: #ffffff;

.tabs.eccw-settings-tabs {
  max-width: 99%;
  background: #fff;
  position: relative;
  --eccw-success: #12c99b;
  --eccw-error: #e41749;
  .ajax-loader {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    background: #ffffffdb;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
    img {
      width: 90px;
      z-index: 2;
    }
    &.show {
      display: flex;
      flex-direction: column;
    }
  }
  ul#tabs-nav {
    list-style: none;
    margin: 0;
    overflow: auto;
    display: flex;
    border-bottom: 1px solid $primary-color;
    padding-left: 30px;
    li {
      float: left;
      font-weight: 500;
      margin-right: 2px;
      margin-bottom: 0;
      cursor: pointer;
      a {
        text-decoration: none;
        color: $primary-color;
        padding: 15px 40px;
        display: inline-block;
        font-size: 17px;
        &:focus,
        &:focus-visible {
          box-shadow: none;
          outline: none;
          border: none;
        }
      }
      &:hover,
      &.active {
        background-color: #1d4ed8;
        outline: none;
        a {
          color: #fff;
        }
      }
    }
  }
  .tab-contents-wrapper {
    padding: 30px 30px;
    .tab-content {
      .content-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
      }
      .add-currency {
        margin-top: 10px;
      }
      &#tab_currency_design > h2,
      &.eccw-sticky-elements-display {
        background: #f4f4f4;
        padding: 20px;
      }
      &#tab_currency_usage label {
        display: inline-block;
        width: 142px;
        font-weight: 600;
      }
    }
  }
  .eccw-dimension-input {
    display: none;
  }
  .eccw-input {
    width: 100px !important;
  }
  .alert {
    border-radius: 5px;
    padding: 10px 12px 10px 10px;
    display: none;
    align-items: center;
    &.alert-success {
      background: var(--eccw-success);
    }
    &.alert-error {
      background: var(--eccw-error);
    }
    .eccw-err-msg {
      font-size: 18px;
      color: #fff;
      margin: 0;
    }
    .icon__wrapper {
      height: 34px;
      width: 34px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.253);
      display: flex;
      align-items: center;
      justify-content: center;
      span {
        font-size: 21px;
        color: #fff;
      }
      p {
        color: #fff;
        font-family: Verdana;
        margin-left: 10px;
      }
    }
  }
}

.eccw-designer-container {
  max-width: 1000px;
  margin: 40px auto;
  font-family: "Segoe UI", sans-serif;

  .eccw-designer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #e7fbe9;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;

    h2 {
      font-size: 20px;
      margin: 0;
      color: #2a653f;
    }

    button {
      background-color: $primary-color;
      border: none;
      padding: 8px 16px;
      color: #fff;
      border-radius: 5px;
      cursor: pointer;
    }
  }

  .eccw-designer-list {
    display: flex;
    flex-direction: column;
    gap: 15px;

    .eccw-designer-card {
      background-color: #f9f9f9;
      border-left: 4px solid $primary-color;
      padding: 20px;
      border-radius: 6px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);

      .eccw-designer-info {
        flex-grow: 1;

        p {
          margin: 0;
          font-size: 16px;
          color: #444;

          code {
            background-color: #eee;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 14px;
            color: #000;
          }
        }
      }

      .eccw-designer-actions {
        display: flex;
        align-items: center;
        gap: 10px;

        button {
          padding: 6px 12px;
          border: none;
          border-radius: 4px;
          font-size: 14px;
          cursor: pointer;

          &.eccw-btn-edit {
            background-color: $success-color;
            color: white;
          }

          &.eccw-btn-delete {
            background-color: $danger-color;
            color: white;
          }

          &.eccw-btn-copy {
            background-color: $copy-bg;
            color: #333;
            border: 1px solid #ccc;

            &.copied {
              background-color: $copy-bg-success;
              color: $copy-text-success;
              border-color: #c3e6cb;
            }
          }
        }
      }
    }
  }

  /* shortcode generator css */
  .eccw-shortcode-box {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 6px 10px;
    max-width: 350px;
    background-color: #fff;

    .eccw-shortcode-input {
      flex: 1;
      border: none;
      outline: none;
      background: transparent;
      font-family: monospace;
      font-size: 14px;
    }

    .eccw-copy-btn {
      background: none;
      border: none;
      cursor: pointer;
      font-size: 16px;
      padding: 4px;
      margin-left: 8px;

      &:hover {
        color: #0073aa;
      }
    }
  }
}

.eccw-style-modal-switcher {
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.5);
}

.eccw-style-modal-switcher-content {
  background: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  width: 100%;
  max-width: 900px;
  position: relative;
}

.eccw-style-modal-switcher-close {
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 30px;
  cursor: pointer;
}

.eccw-style-modal-switcher-save-btn,
.eccw-style-modal-switcher-save-closebtn {
    padding: 10px 15px;
    border: none;
    border-radius: 6px;
    background-color: $primary-color;
    color: $white-color;
    cursor: pointer;
}

.eccw-style-modal-switcher-form,
#tab_currency_switcher_sticky  {
  margin-top: 50px;
  margin-bottom: 30px;
  h2 {
    background: #f4f4f4;
    padding: 20px;
    margin-bottom: 35px !important;
  }
  
  .eccw-dimension-field-wrapper {
    display: flex;
    gap: 15px;
  }

}

.eccw-position-settings {
    .form-table {
      .forminp {
          display: flex;
          align-items: center;
      }
    }

    .eccw-slider-range {
      vertical-align: middle;
      width: 150px; 
      margin-right: 10px;
    }
    .eccw-slider-range-value {
      width: 100px!important; 
      text-align: center;
    }
}

.eccw-template-preview-wrapper {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  label {
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
    .eccw-template-preview-image {
      border:1px solid #ccc; 
      padding:10px; 
      border-radius:5px; 
      margin-top:5px;
    }
    p {
      margin-top: 5px;
    }
  }
  input[type="radio"]:checked + div {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
  }
  img {
    height: 100px;
    max-width:150px; 
    display:block;
  }
}

.eccw-button-wrapper {
    display: flex;
    gap: 10px;
    button:disabled {
      background-color: #dcdcdc !important; 
      color: #888 !important;              
      cursor: not-allowed !important;      
      opacity: 0.8;
    }
}

/*
* eccw tab style
*/

.eccw-tabs-wrapper {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
    width: 95%;
    margin-top: 30px;
}
.eccw-tab-btn {
    flex: 1;
    padding: 8px 10px;
    cursor: pointer;
    background: #f1f1f1;
    border: none;
    outline: none;
    font-weight: 600;
    transition: background 0.3s;
}
.eccw-tab-btn.active {
    background: #fff;
    border-bottom: 2px solid #0073aa;
}
.eccw-tab-content {
    display: none;
}
.eccw-tab-content.active {
    display: block;
}

.eccw-loading {
    position: relative;
    opacity: 0.6;
  pointer-events: none;
  transition: opacity 0.15s ease-in-out;
}
.eccw-loading:after {
    content: "Loading...";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #666;
    font-size: 14px;
    font-style: italic;
}

.eccw-loading-placeholder {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 15px;
}

.eccw-loading-line {
  height: 14px;
  background: linear-gradient(
    90deg,
    #f0f0f0 25%,
    #e0e0e0 50%,
    #f0f0f0 75%
  );
  background-size: 200% 100%;
  animation: eccw-shimmer 1.5s infinite;
  border-radius: 4px;
}

@keyframes eccw-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.eccw-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}
  
.eccw-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
  
.eccw-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}
  
.eccw-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}
  
.eccw-switch input:checked + .eccw-slider {
  background-color: #2196F3;
}
.eccw-switch input:checked + .eccw-slider:before {
  transform: translateX(24px);
}


.eccw-tab-toggle {
    display: inline-flex;
    border: 1px solid #ccc;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    background: #f7f7f7;
}

.eccw-tab-option {
    flex: 1;
    text-align: center;
    padding: 6px 10px;
    font-weight: 500;
    transition: background 0.3s, color 0.3s;
}

.eccw-tab-option.active {
    background: #2271b1;
    color: white;
}

/*
* shortcode create modal css
*/

.eccw-shortcode-modal,
.eccw-create-shortcode-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  width: 100%;
  max-width: 750px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  padding: 25px 30px;
  z-index: 9999;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;

  h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 1.4rem;
    color: #333;
    text-align: center;
  }

  label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #555;
    font-size: 0.9rem;
  }

  #eccw_switcher_name_field {
      width: 80% !important;
  }

  form {
    button {
      cursor: pointer;
      font-size: 1rem;
      padding: 10px 22px;
      border-radius: 6px;
      border: none;
      transition: background-color 0.3s ease;
      margin-right: 12px;
      min-width: 90px;

      &.button-primary {
        background-color: #0057d9;
        color: #fff;

        &:hover {
          background-color: #003ea1;
        }
      }

      &:hover:not(.button-primary) {
        background-color: #c6c6c6;
      }
    }
  }
}

@media (max-width: 480px) {
  .eccw-shortcode-modal,
  .eccw-create-shortcode-modal {
    width: 90%;
    padding: 20px;
  }

  form {
    button {
      width: 100%;
      margin: 10px 0 0 0;
      min-width: auto;
    }
  }
}

#eccw-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;  
  height: 100vh; 
  background-color: rgba(0, 0, 0, 0.5); 
  z-index: 999; 
  display: none; 
}
.select2-container .select2-selection--multiple .select2-selection__choice {
  padding-left: 30px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  padding-left: 30px !important;
}

.eccw-range-reset {
  margin-left: 6px;
  padding: 2px 6px;
  font-size: 11px;
  cursor: pointer;
}


/* header row */
.eccw-designer-list-header {
  display: flex;
  justify-content: space-between;
  padding: 10px 20px;
  font-weight: 600;
  color: #555;
  border-bottom: 1px solid #ddd;
  margin-bottom: 20px;
  font-size: 24px;
  padding-bottom: 20px;
}

.eccw-designer-list-header .col-shortcode {
  width: 40%;
}
.eccw-designer-list-header .col-name {
  width: 30%;
  text-align: center;
}
.eccw-designer-list-header .col-actions {
  width: 30%;
  text-align: right;
}

.switcher-name {
  display: flex;
  align-items: center;
  padding-left: 15px;
  font-size: 15px;
  color: #333;
  width: 30%;
  justify-content: center;
}


.eccw-shortcode-box {
  width: 100%;
  max-width: 100%;
}
.eccw-designer-info {
  display: flex;
  align-items: center;
  width: 40%;
}


.eccw-designer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 30%;
  justify-content: flex-end;
}



.eccw-border-control {
    display:flex; 
    align-items:center; 
    gap:10px; 
    flex-wrap: wrap;
}

.eccw-border-tab-control {
  display:flex; 
  flex-direction:column; 
  align-items:center;
}

.easy-currency-border-style-control {
  min-width:100px;
}

.eccw-border-picker {
    width: 100px;
}

.eccw-searchable-select {
  width: 400px;
}

#menu-item-html-wrap {
   width: 100%;
}

.eccw-pro-required-msg {
    display: flex;
    align-items: center;
    gap: 15px;
    border: 2px dashed #f5f5f5;
    background: #f5f5f5;
    border-radius: 12px;
    margin: 20px 0 40px 0;
    width: 50%;
    max-width: 320px;
    padding: 20px;
}


.eccw-pro-icon {
    font-size: 40px;
}
.eccw-pro-content h3 {
    margin: 0 0 5px 0;
    font-size: 18px;

    color: #e65100;
}
.eccw-pro-content p {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #555;
}
.eccw-pro-btn {
    display: inline-block;
    background: #ff9800;
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}
.eccw-pro-btn:hover {
    background: #e68900;
}

/* pro lock css*/

.eccw-pro-lock-tooltip {
  position: relative;
  cursor: not-allowed;
}

.eccw-pro-lock-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: #111827;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.eccw-pro-lock-tooltip:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

#tab_currency_advanced_settings {
  display: flex;
  flex-direction: column;
}

.eccw-advanced-settings {
    order: 1;
}

.eccw-geo-country-table-list {
    order: 2;
}

#tab_currency_advanced_settings .submit {
  order: 3;
}

.eccw-custom-advanced-settings > h2 {
  margin-top: 20px !important;
  margin-bottom: 20px !important;
}

/*geo country table list*/

.eccw-geo-country-table-list {
  margin-top: 20px;

  .eccw-geo-country-table {
    border: 1px solid #dcdcde;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);

    thead {
      background: #f6f7f7;

      th {
        padding: 12px 15px;
        font-weight: 600;
        font-size: 14px;
        text-align: left;
        color: #1d2327;
        border-bottom: 1px solid #dcdcde;
      }
    }

    tbody {
      tr {
        &:nth-child(even) {
          background: #fbfbfb;
        }

        &:hover {
          background: #f0f6fc;
        }

        td {
          padding: 10px 15px;
          font-size: 13px;
          color: #2c3338;
          vertical-align: middle;
          border-bottom: 1px solid #eee;

          &:first-child {
            font-weight: 500;
            color: #1d2327;
            white-space: nowrap;
          }

          select.eccw-searchable-country-select {
            width: 100%;
            min-width: 250px;
            border-radius: 6px;
            border: 1px solid #ccd0d4;
            font-size: 13px;
            padding: 6px 8px;
            background: #fff;
            transition: border 0.2s ease-in-out;

            &:focus {
              border-color: #2271b1;
              box-shadow: 0 0 0 1px #2271b1;
              outline: none;
            }
          }

          .button {
            font-size: 12px;
            padding: 4px 10px;
            margin-right: 6px;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.2s ease;

            &.select-all-countries {
              
                background: #2271b1;
                color: #fff;
                border-color: #2271b1;
              
            }

            &.remove-all-countries {
              border: 1px solid #d63638;
              background: #d63638;
              color: #fff;
              
            }
          }
        }
      }
    }
  }

}

.eccw-geo-country-table-list .select2-container--default .select2-selection--multiple {
    max-width: 800px;  
    min-width: 500px;  
    max-height: 120px;  
    overflow-y: auto;  
    overflow-x: hidden;
    border-radius: 6px;
    border: 1px solid #ccd0d4;
    padding: 4px;
}

.eccw-geo-country-table-list .select2-selection--multiple .select2-selection__choice {
    background: #f6f7f7;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    padding: 2px 6px;
    margin: 3px 4px 0 0;
    font-size: 12px;
    color: #2c3338;
    white-space: nowrap;
}

.eccw-table-footer-actions-geo-country {
  margin-top: 15px;
  text-align: left;
}
.eccw-geo-country-table-list .select2-container .select2-selection--multiple {
    border-color: #ccd0d4 !important;
}


.eccw-searchable-country-select.pro-disabled {
  cursor: not-allowed;
  opacity: 0.6;
  position: relative;
}

.eccw-pro-badge-shortcode {
    background: #e67e22;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 5px;
}

#tab_currency_options tr td .description  {
    width: 350px;
}


#tab_converter_widgets .eccw-dimension-field-wrapper {
    display: flex;
    gap: 10px;
}

.eccw-pro-badge {
    background: #e67e22;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 6px;
    text-transform: uppercase;
}

#tab_converter_widgets.eccw-ccpro-missing input:disabled,
#tab_converter_widgets.eccw-ccpro-missing select:disabled,
#tab_converter_widgets.eccw-ccpro-missing textarea:disabled {
    background-color: #f5f5f5; 
    color: #777; 
    cursor: not-allowed;
}

#tab_converter_widgets.eccw-ccpro-missing input:disabled,
#tab_converter_widgets.eccw-ccpro-missing select:disabled {
    border-color: #ddd;
}

.eccw-ccpro-missing > h2 {
  display: inline-block;
}

.easy-currency-table tr.easy-base-currency .easy-currency-dropdowneccw,
.easy-currency-table tr.easy-base-currency input.currency-rate,
.easy-currency-table tr.easy-base-currency button.remove-row {
    pointer-events: none; 
    background-color: #f5f5f5; 
    color: #777; 
    cursor: not-allowed; 
}

.eccw-custom-advanced-settings {
  h2 {
    background: #f4f4f4;
    padding: 20px;
  }
}

.easy-currency-pro-feature {
  .apply-default-countries,
  .select-all-countries,
  .remove-all-countries {
    opacity: 0.55;             
    cursor: not-allowed;     
    filter: grayscale(20%);   
    pointer-events: none; 
    box-shadow: none;
  }
}

.eccw-ccpro-missing .titledesc label {
    display: inline-block !important;
}


/* Toggle wrapper */
.eccw-toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.eccw-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.eccw-payment-toggle {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 26px;
}


.eccw-payment-toggle:before {
  position: absolute;
  content: "";
  height: 20px; width: 20px;
  left: 3px; bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

.eccw-toggle-switch input:checked + .eccw-payment-toggle {
  background-color: #2196F3; 
}

.eccw-toggle-switch input:checked + .eccw-payment-toggle:before {
  transform: translateX(24px);
}

.eccw-payment-toggle:before {
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

#tab_currency_checkout_settings {
  display: flex;
  flex-direction: column;
}

#tab_currency_checkout_settings .eccw-checkout-enable-settings {
    order: 1;
}

#tab_currency_checkout_settings .eccw-currency-payment-table-list  {
    order: 2;
}

.eccw-payment-rule-bycurrency-table-list  {
    order: 4;
}

.eccw-currency-by-payment-rule {
    order: 3;
    margin: 30px 0;
}

.eccw-payment-rule-bycurrency-table-list,
.eccw-currency-payment-table-list   {
    width: 100%;
    max-width: 800px;
}

.eccw-payment-wise-currency-set-currency  {
    width: 60% !important;
}

.eccw-currency-by-payment-rule > h2 {
  margin-top: 15px !important;
  margin-bottom: 30px !important;
}

.eccw-currency-shipping-billing-rule {
    order: 4;
    margin-top: 30px;
}

.eccw-currency-by-payment-rule .description {
    width: 430px;
    margin-top: 15px;
}

.eccw-currecny-wise-payment-desc {
  color: #d5a720;
  font-weight: 600;
}
  
.eccw_fixed_price_options_group {
    padding: 15px;
    .fixed_price_rule_item {
        display: flex;
        gap: 10px;
        margin-bottom: 10px;
        input {
            width: 30%;
        }
        .button {
            background: red;
            color: white;
            border: none;
            cursor: pointer;
        }
    }
}

.eccw_user_role_pricing_options_group {
  padding: 15px;
}

#eccw_user_role_rules_container .eccw_user_role_rule_item {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.eccw-autu-update-settings .description {
    margin-top: 15px;
}

// ── Currency Table — modern layout ───────────────────────────────
.easy-currency-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;

  thead tr {
    background: #f8f8f8;
  }
  thead th {
    padding: 10px 12px;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #e5e7eb;
    white-space: nowrap;
  }
  tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
    &:hover { background: #fafbff; }
  }
  td {
    padding: 8px 12px;
    vertical-align: middle;
  }
  input.currency-rate,
  input.eccw-rate-input {
    width: 90px !important;
    text-align: right;
  }
  .eccw-row-symbol {
    font-weight: 600;
    color: #444;
    font-size: 14px;
  }
  .eccw-row-position {
    color: #666;
    font-size: 12px;
  }
  tr.easy-base-currency {
    .easy-currency-dropdowneccw,
    input.currency-rate,
    .eccw-delete-row {
      pointer-events: none;
      opacity: 0.45;
      cursor: not-allowed;
    }
  }

  input[type="radio"][name="eccw_currency_table[default]"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-sizing: border-box;
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    border: 2px solid #c3c8d0;
    border-radius: 50%;
    background-color: #fff;
    cursor: pointer;
    vertical-align: middle;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;

    &:hover {
      border-color: $primary-color;
      box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.12);
    }

    &:focus,
    &:focus-visible {
      border-color: $primary-color;
      box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
      outline: none;
    }

    &:checked {
      border-color: $primary-color;
      background-color: $primary-color;
      box-shadow: inset 0 0 0 3px #fff;

      &:hover {
        box-shadow: inset 0 0 0 3px #fff, 0 0 0 3px rgba(0, 123, 255, 0.12);
      }

      &:focus,
      &:focus-visible {
        box-shadow: inset 0 0 0 3px #fff, 0 0 0 3px rgba(0, 123, 255, 0.2);
      }
    }

    &:disabled {
      cursor: not-allowed;
      opacity: 0.55;
      background-color: #f5f5f5;
    }
  }
}

// ── Row Action Buttons ────────────────────────────────────────────
.eccw-row-actions {
  display: flex;
  gap: 5px;
  align-items: center;
}

.eccw-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  color: #555;
  padding: 0;
  transition: all 0.15s;

  &:hover {
    background: #f0f4ff;
    border-color: #2271b1;
    color: #2271b1;
  }
  &.eccw-delete-row:hover {
    background: #fff5f5;
    border-color: #e41749;
    color: #e41749;
  }
  &.eccw-update-rate-row:hover {
    background: #f0fff4;
    border-color: #12c99b;
    color: #12c99b;
  }
  &.eccw-spinning svg {
    animation: eccw-spin 0.8s linear infinite;
  }
}

@keyframes eccw-spin {
  to { transform: rotate(360deg); }
}

// ── Select2 Flag Dropdown ─────────────────────────────────────────
.eccw-select2-option,
.eccw-select2-selection {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  line-height: 1.4;
}

.eccw-select2-flag {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
  vertical-align: middle;
}

.select2-results__option .eccw-select2-option {
  padding: 2px 0;
}

.select2-container--default {
  .select2-selection--single {
    height: 40px;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;

    &:hover {
      border-color: #9ca3af;
    }

    .select2-selection__rendered {
      line-height: 38px;
      padding-left: 12px;
      padding-right: 34px;
      color: #111827;
      font-size: 13px;
      font-weight: 500;
      display: flex;
      align-items: center;
      gap: 8px;

      strong {
        font-weight: 600;
        color: #111827;
        letter-spacing: 0.2px;
      }
    }

    .select2-selection__arrow {
      height: 38px;
      width: 30px;
      right: 4px;
      top: 0;

      b {
        border-color: #6b7280 transparent transparent transparent;
        border-width: 5px 4px 0 4px;
      }
    }

    .select2-selection__clear {
      color: #9ca3af;
      font-weight: 400;
      margin-right: 6px;

      &:hover {
        color: #dc2626;
      }
    }
  }

  &.select2-container--focus .select2-selection--single,
  &.select2-container--open .select2-selection--single {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    outline: none;
  }

  &.select2-container--open {
    .select2-selection--single .select2-selection__arrow b {
      border-color: transparent transparent #6b7280 transparent;
      border-width: 0 4px 5px 4px;
    }
  }

  .select2-dropdown {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(16, 24, 40, 0.08);
    overflow: hidden;
    margin-top: 4px;
  }

  .select2-search--dropdown {
    padding: 10px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;

    .select2-search__field {
      height: 34px;
      padding: 6px 10px;
      border: 1px solid #d1d5db;
      border-radius: 6px;
      font-size: 13px;
      outline: none;
      transition: border-color 0.15s ease, box-shadow 0.15s ease;

      &:focus {
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
      }
    }
  }

  .select2-results__options {
    padding: 4px;
    max-height: 260px;
  }

  .select2-results__option {
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 13px;
    color: #374151;
    margin: 2px 0;

    &[aria-selected="true"] {
      background: #eff6ff;
      color: #1d4ed8;
      font-weight: 500;
    }

    &--highlighted[aria-selected] {
      background: #2563eb;
      color: #fff;

      strong { color: #fff; }
    }
  }
}

// ── Right-Side Edit Panel ─────────────────────────────────────────
.eccw-edit-panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 99998;
}

.eccw-currency-edit-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 360px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;

  &.eccw-panel-open {
    transform: translateX(0);
  }
}

.eccw-edit-panel-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.eccw-edit-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid #e5e7eb;
  background: #f8f9fa;
  flex-shrink: 0;

  h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.3;
  }
}

.eccw-edit-panel-close {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #888;
  line-height: 1;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;

  &:hover {
    background: #fee2e2;
    color: #e41749;
  }
}

.eccw-edit-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.eccw-panel-field {
  margin-bottom: 18px;

  label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
  }

  input[type="text"],
  input[type="number"],
  select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #dcdfe6;
    border-radius: 6px;
    font-size: 13px;
    color: #333;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;

    &:focus {
      border-color: #2271b1;
      box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.15);
      outline: none;
    }
  }
}

.eccw-panel-hint {
  display: block;
  font-size: 11px;
  color: #999;
  margin-top: 4px;
}

.eccw-panel-inline {
  display: flex;
  gap: 8px;

  input { flex: 1; }
  select { flex: 1; }
}

.eccw-edit-panel-footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 14px 20px;
  border-top: 1px solid #e5e7eb;
  background: #f8f9fa;
  flex-shrink: 0;

  .button {
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 13px;
  }
}
/* Success toast */
.eccw-toast {
  position: fixed;
  top: 32px;
  right: 32px;
  z-index: 100001;
  min-width: 220px;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: none;

  &.eccw-toast-success {
    background: #10b981;
    border-left: 4px solid #059669;
  }
}

/* Custom confirm modal */
.eccw-confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 100002;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;

  &.eccw-confirm-open {
    opacity: 1;
    pointer-events: auto;

    .eccw-confirm-dialog {
      transform: translateY(0) scale(1);
    }
  }

  .eccw-confirm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.55);
    backdrop-filter: blur(2px);
  }

  .eccw-confirm-dialog {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 420px;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    padding: 28px 24px 20px;
    text-align: center;
    transform: translateY(12px) scale(0.98);
    transition: transform 0.18s ease;
  }

  .eccw-confirm-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;

    &.eccw-confirm-icon-danger {
      background: #fee2e2;
      color: #dc2626;
    }
    &.eccw-confirm-icon-warning {
      background: #fef3c7;
      color: #d97706;
    }
  }

  .eccw-confirm-title {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 600;
    color: #111827;
  }

  .eccw-confirm-message {
    margin: 0 0 22px;
    font-size: 13px;
    color: #4b5563;
    line-height: 1.5;
  }

  .eccw-confirm-actions {
    display: flex;
    gap: 10px;
    justify-content: center;

    .button {
      min-width: 110px;
      padding: 8px 18px;
      border-radius: 6px;
      font-size: 13px;
      font-weight: 500;
    }
  }

  .eccw-confirm-ok-danger {
    background: #dc2626 !important;
    border-color: #dc2626 !important;
    color: #fff !important;
    text-shadow: none !important;
    box-shadow: none !important;

    &:hover,
    &:focus {
      background: #b91c1c !important;
      border-color: #b91c1c !important;
      color: #fff !important;
    }
  }
}

.easy-currency-table .select2-container .select2-selection,
.currency-rate.eccw-rate-input {
    border-color: #ddd !important;
}

.easy-currency-table .select2-container .select2-selection:focus,
.currency-rate.eccw-rate-input:focus {
    outline: none !important;
    border: none !important;
}


/* Header actions (upgrade notice + update rates button) */
.content-header {
  .eccw-header-actions {
    display: inline-flex;
    align-items: center;
    gap: 14px;
  }

  .eccw-upgrade-notice {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #6b7280;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    padding: 6px 10px;
    border-radius: 999px;
    line-height: 1;
    white-space: nowrap;

    strong {
      color: #c2410c;
      font-weight: 600;
    }

    .eccw-upgrade-link {
      color: #c2410c;
      font-weight: 600;
      text-decoration: none;
      border-bottom: 1px solid transparent;
      transition: color 0.15s ease, border-color 0.15s ease;

      &:hover,
      &:focus {
        color: #9a3412;
        border-bottom-color: #9a3412;
        outline: none;
      }
    }
  }
}

/* Add Currency button */
.button.add-currency {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: auto;
  margin-top: 14px;
  padding: 9px 18px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  border: 1px solid #1d4ed8 !important;
  border-radius: 8px !important;
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-shadow: none !important;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25) !important;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;

  &:hover,
  &:focus {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
    border-color: #1e40af !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35) !important;
    transform: translateY(-1px);
    outline: none;
  }

  &:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.25) !important;
  }

  .eccw-add-icon {
    flex-shrink: 0;
  }

  span {
    line-height: 1;
  }
}

/* Update Rates button */
.button.button-primary.update-currency-rates {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: auto;
  padding: 9px 18px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  border: 1px solid #1d4ed8 !important;
  border-radius: 8px !important;
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-shadow: none !important;
  box-shadow: 0 2px 6px rgba(29, 78, 216, 0.25) !important;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;

  &:hover,
  &:focus {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
    border-color: #1e40af !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.35) !important;
    transform: translateY(-1px);
    outline: none;
  }

  &:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(29, 78, 216, 0.25) !important;
  }

  .eccw-update-icon {
    flex-shrink: 0;
    transition: transform 0.5s ease;
  }

  &:hover .eccw-update-icon {
    transform: rotate(180deg);
  }

  span {
    line-height: 1;
  }
}

.easy-currency-table .select2-selection.select2-selection--single {
    display: flex;
    height: 40px !important;
}
.easy-currency-table .select2-container .select2-selection--single .select2-selection__arrow {
    height: 38px !important;
}

/* Tab navigation redesign */
.eccw-settings-tabs {
  #tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 8px 20px 0;
    margin: 0;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
    list-style: none;

    li {
      margin: 0;
      padding: 0;
      float: none;
      cursor: pointer;
      position: relative;
      background: transparent;
      border: 1px solid transparent;
      border-bottom: none;
      border-radius: 8px 8px 0 0;
      transition: background 0.15s ease, border-color 0.15s ease;

      a {
        display: inline-block;
        padding: 12px 22px;
        font-size: 13px;
        font-weight: 500;
        color: #6b7280;
        text-decoration: none;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        transition: color 0.15s ease;

        &:focus,
        &:focus-visible {
          outline: none;
          box-shadow: none;
        }
      }

      &:hover {
        background: #1d4ed8;
        border-color: #1d4ed8;

        a {
          color: #fff !important;
        }
      }

      &.active {
        background: #1d4ed8;
        border-color: #1d4ed8;

        a {
          color: #fff !important;
          font-weight: 600;
        }
      }
    }
  }
}

/* Pro upgrade notice (above WC Save Changes button) */
.eccw-pro-upgrade-notice {
  margin: 28px 0 18px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 100%);
  border: 1px solid #fcd34d;
  border-left: 4px solid #f59e0b;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.10);
  max-width: 99%;

  .eccw-pro-upgrade-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: #f59e0b;
    color: #fff;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35);
  }

  p {
    margin: 0;
    color: #78350f;
    font-size: 13px;
    line-height: 1.5;
  }

  .eccw-pro-upgrade-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
    padding: 5px 12px;
    background: #f59e0b;
    color: #fff !important;
    font-weight: 600;
    font-size: 12px;
    text-decoration: none;
    border-radius: 999px;
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.25);

    &:hover,
    &:focus {
      background: #d97706;
      color: #fff !important;
      transform: translateY(-1px);
      box-shadow: 0 4px 10px rgba(245, 158, 11, 0.35);
      outline: none;
    }

    svg {
      transition: transform 0.15s ease;
    }

    &:hover svg {
      transform: translateX(2px);
    }
  }
}

/* Tab icons */
.eccw-settings-tabs #tabs-nav li a {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
}
.eccw-settings-tabs #tabs-nav li .eccw-tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}

/* Go Pro tab (gold accent) */
.eccw-settings-tabs #tabs-nav li.eccw-tab-go-pro a {
  color: #c2410c;
  font-weight: 600;
}
.eccw-settings-tabs #tabs-nav li.eccw-tab-go-pro:hover,
.eccw-settings-tabs #tabs-nav li.eccw-tab-go-pro.active {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  border-color: #d97706 !important;
}
.eccw-settings-tabs #tabs-nav li.eccw-tab-go-pro:hover a,
.eccw-settings-tabs #tabs-nav li.eccw-tab-go-pro.active a {
  color: #fff !important;
}

/* Go Pro tab content */
.eccw-gopro-wrap {
  max-width: 1200px;
  margin: 0 auto;
}
.eccw-gopro-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 100%);
  border: 1px solid #fcd34d;
  border-radius: 14px;
  margin-bottom: 22px;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.12);

  .eccw-gopro-header-text {
    flex: 1;

    h2 {
      margin: 8px 0 6px !important;
      font-size: 22px;
      color: #78350f;
      background: transparent !important;
      padding: 0 !important;
    }

    p {
      margin: 0;
      color: #92400e;
      font-size: 13px;
      line-height: 1.5;
      max-width: 620px;
    }
  }

  .eccw-gopro-badge {
    display: inline-block;
    padding: 3px 10px;
    background: #d97706;
    color: #fff;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
  }

  .eccw-gopro-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    background: #f59e0b;
    color: #fff !important;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    border-radius: 999px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;

    &:hover,
    &:focus {
      background: #d97706;
      transform: translateY(-1px);
      box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45);
      outline: none;
    }
  }
}

.eccw-gopro-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.06);

  thead th {
    padding: 14px 18px;
    background: #f9fafb;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
    text-align: center;

    &:first-child { text-align: left; }
    &.eccw-gopro-col-pro {
      background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
      color: #92400e;
    }
  }

  tbody td {
    padding: 13px 18px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13px;
    color: #111827;
    vertical-align: middle;
  }

  tbody tr:last-child td { border-bottom: none; }
  tbody tr:hover td { background: #f8fafc; }

  .eccw-gopro-feature { font-weight: 500; }

  .eccw-gopro-cell {
    text-align: center;
    width: 90px;
  }
  .eccw-gopro-col-pro { background: rgba(254, 243, 199, 0.25); }

  .eccw-gopro-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #d1fae5;
    color: #059669;
  }
  .eccw-gopro-col-pro .eccw-gopro-check {
    background: #f59e0b;
    color: #fff;
  }
  .eccw-gopro-cross {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fee2e2;
    color: #dc2626;
  }
}

.eccw-gopro-footer {
  margin-top: 22px;
  text-align: center;

  .eccw-gopro-footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff !important;
    font-weight: 600;
    font-size: 12px;
    text-decoration: none;
    border-radius: 999px;
    box-shadow: 0 3px 10px rgba(245, 158, 11, 0.3);
    transition: transform 0.15s ease, box-shadow 0.15s ease;

    &:hover,
    &:focus {
      transform: translateY(-1px);
      box-shadow: 0 5px 14px rgba(245, 158, 11, 0.4);
      outline: none;

      svg { transform: translateX(3px); }
    }

    svg { transition: transform 0.15s ease; }
  }
}

/* Responsive tabs */
@media (max-width: 1280px) {
  .eccw-settings-tabs ul#tabs-nav li a,
  .eccw-settings-tabs #tabs-nav li a {
    padding: 12px 22px;
    font-size: 14px;
  }
}

@media (max-width: 1024px) {
  .eccw-settings-tabs ul#tabs-nav,
  .eccw-settings-tabs #tabs-nav {
    padding: 6px 12px 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .eccw-settings-tabs ul#tabs-nav::-webkit-scrollbar,
  .eccw-settings-tabs #tabs-nav::-webkit-scrollbar {
    height: 4px;
  }
  .eccw-settings-tabs ul#tabs-nav::-webkit-scrollbar-thumb,
  .eccw-settings-tabs #tabs-nav::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
  }

  .eccw-settings-tabs ul#tabs-nav li,
  .eccw-settings-tabs #tabs-nav li {
    flex-shrink: 0;
  }

  .eccw-settings-tabs ul#tabs-nav li a,
  .eccw-settings-tabs #tabs-nav li a {
    padding: 11px 16px;
    font-size: 13px;
    white-space: nowrap;
  }

  .tabs.eccw-settings-tabs .tab-contents-wrapper {
    padding: 20px 16px;
  }
}

@media (max-width: 768px) {
  .eccw-settings-tabs ul#tabs-nav li a,
  .eccw-settings-tabs #tabs-nav li a {
    padding: 10px 14px;
    font-size: 12.5px;
    gap: 6px;
  }

  .eccw-settings-tabs ul#tabs-nav li .eccw-tab-icon svg,
  .eccw-settings-tabs #tabs-nav li .eccw-tab-icon svg {
    width: 14px;
    height: 14px;
  }

  .content-header {
    flex-wrap: wrap;
    gap: 10px;
  }

  .content-header .eccw-header-actions {
    flex-wrap: wrap;
    gap: 8px;
  }

  .eccw-currency-edit-panel {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .eccw-settings-tabs ul#tabs-nav li a,
  .eccw-settings-tabs #tabs-nav li a {
    padding: 10px 12px;
  }

  .eccw-settings-tabs ul#tabs-nav li a span:not(.eccw-tab-icon),
  .eccw-settings-tabs #tabs-nav li a span:not(.eccw-tab-icon) {
    display: none;
  }

  .eccw-settings-tabs ul#tabs-nav li.eccw-tab-go-pro a span:not(.eccw-tab-icon),
  .eccw-settings-tabs #tabs-nav li.eccw-tab-go-pro a span:not(.eccw-tab-icon) {
    display: inline;
    font-size: 11.5px;
  }

  .eccw-settings-tabs ul#tabs-nav li a,
  .eccw-settings-tabs #tabs-nav li a {
    gap: 0;
  }
}
