/* Settings Tabs */
.tabs.eccw-settings-tabs {
  max-width: 99%;
  background: #fff;
  position: relative;
  --eccw-success: #12c99b;
  --eccw-error: #e41749;
}
.tabs.eccw-settings-tabs .ajax-loader {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  background: rgba(255, 255, 255, 0.8588235294);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}
.tabs.eccw-settings-tabs .ajax-loader img {
  width: 90px;
  z-index: 2;
}
.tabs.eccw-settings-tabs .ajax-loader.show {
  display: flex;
  flex-direction: column;
}
.tabs.eccw-settings-tabs ul#tabs-nav {
  list-style: none;
  margin: 0;
  overflow: auto;
  display: flex;
  border-bottom: 1px solid #007bff;
  padding-left: 30px;
}
.tabs.eccw-settings-tabs ul#tabs-nav li {
  float: left;
  font-weight: 500;
  margin-right: 2px;
  margin-bottom: 0;
  cursor: pointer;
}
.tabs.eccw-settings-tabs ul#tabs-nav li a {
  text-decoration: none;
  color: #007bff;
  padding: 15px 40px;
  display: inline-block;
  font-size: 17px;
}
.tabs.eccw-settings-tabs ul#tabs-nav li a:focus, .tabs.eccw-settings-tabs ul#tabs-nav li a:focus-visible {
  box-shadow: none;
  outline: none;
  border: none;
}
.tabs.eccw-settings-tabs ul#tabs-nav li:hover, .tabs.eccw-settings-tabs ul#tabs-nav li.active {
  background-color: #1d4ed8;
  outline: none;
}
.tabs.eccw-settings-tabs ul#tabs-nav li:hover a, .tabs.eccw-settings-tabs ul#tabs-nav li.active a {
  color: #fff;
}
.tabs.eccw-settings-tabs .tab-contents-wrapper {
  padding: 30px 30px;
}
.tabs.eccw-settings-tabs .tab-contents-wrapper .tab-content .content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tabs.eccw-settings-tabs .tab-contents-wrapper .tab-content .add-currency {
  margin-top: 10px;
}
.tabs.eccw-settings-tabs .tab-contents-wrapper .tab-content#tab_currency_design > h2, .tabs.eccw-settings-tabs .tab-contents-wrapper .tab-content.eccw-sticky-elements-display {
  background: #f4f4f4;
  padding: 20px;
}
.tabs.eccw-settings-tabs .tab-contents-wrapper .tab-content#tab_currency_usage label {
  display: inline-block;
  width: 142px;
  font-weight: 600;
}
.tabs.eccw-settings-tabs .eccw-dimension-input {
  display: none;
}
.tabs.eccw-settings-tabs .eccw-input {
  width: 100px !important;
}
.tabs.eccw-settings-tabs .alert {
  border-radius: 5px;
  padding: 10px 12px 10px 10px;
  display: none;
  align-items: center;
}
.tabs.eccw-settings-tabs .alert.alert-success {
  background: var(--eccw-success);
}
.tabs.eccw-settings-tabs .alert.alert-error {
  background: var(--eccw-error);
}
.tabs.eccw-settings-tabs .alert .eccw-err-msg {
  font-size: 18px;
  color: #fff;
  margin: 0;
}
.tabs.eccw-settings-tabs .alert .icon__wrapper {
  height: 34px;
  width: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.253);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tabs.eccw-settings-tabs .alert .icon__wrapper span {
  font-size: 21px;
  color: #fff;
}
.tabs.eccw-settings-tabs .alert .icon__wrapper 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-container .eccw-designer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #e7fbe9;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}
.eccw-designer-container .eccw-designer-header h2 {
  font-size: 20px;
  margin: 0;
  color: #2a653f;
}
.eccw-designer-container .eccw-designer-header button {
  background-color: #007bff;
  border: none;
  padding: 8px 16px;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
}
.eccw-designer-container .eccw-designer-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.eccw-designer-container .eccw-designer-list .eccw-designer-card {
  background-color: #f9f9f9;
  border-left: 4px solid #007bff;
  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-container .eccw-designer-list .eccw-designer-card .eccw-designer-info {
  flex-grow: 1;
}
.eccw-designer-container .eccw-designer-list .eccw-designer-card .eccw-designer-info p {
  margin: 0;
  font-size: 16px;
  color: #444;
}
.eccw-designer-container .eccw-designer-list .eccw-designer-card .eccw-designer-info p code {
  background-color: #eee;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 14px;
  color: #000;
}
.eccw-designer-container .eccw-designer-list .eccw-designer-card .eccw-designer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.eccw-designer-container .eccw-designer-list .eccw-designer-card .eccw-designer-actions button {
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
}
.eccw-designer-container .eccw-designer-list .eccw-designer-card .eccw-designer-actions button.eccw-btn-edit {
  background-color: #28a745;
  color: white;
}
.eccw-designer-container .eccw-designer-list .eccw-designer-card .eccw-designer-actions button.eccw-btn-delete {
  background-color: #dc3545;
  color: white;
}
.eccw-designer-container .eccw-designer-list .eccw-designer-card .eccw-designer-actions button.eccw-btn-copy {
  background-color: #f0f0f0;
  color: #333;
  border: 1px solid #ccc;
}
.eccw-designer-container .eccw-designer-list .eccw-designer-card .eccw-designer-actions button.eccw-btn-copy.copied {
  background-color: #d1e7dd;
  color: #155724;
  border-color: #c3e6cb;
}
.eccw-designer-container {
  /* shortcode generator css */
}
.eccw-designer-container .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-designer-container .eccw-shortcode-box .eccw-shortcode-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: monospace;
  font-size: 14px;
}
.eccw-designer-container .eccw-shortcode-box .eccw-copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
  margin-left: 8px;
}
.eccw-designer-container .eccw-shortcode-box .eccw-copy-btn: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: #007bff;
  color: #ffffff;
  cursor: pointer;
}

.eccw-style-modal-switcher-form,
#tab_currency_switcher_sticky {
  margin-top: 50px;
  margin-bottom: 30px;
}
.eccw-style-modal-switcher-form h2,
#tab_currency_switcher_sticky h2 {
  background: #f4f4f4;
  padding: 20px;
  margin-bottom: 35px !important;
}
.eccw-style-modal-switcher-form .eccw-dimension-field-wrapper,
#tab_currency_switcher_sticky .eccw-dimension-field-wrapper {
  display: flex;
  gap: 15px;
}

.eccw-position-settings .form-table .forminp {
  display: flex;
  align-items: center;
}
.eccw-position-settings .eccw-slider-range {
  vertical-align: middle;
  width: 150px;
  margin-right: 10px;
}
.eccw-position-settings .eccw-slider-range-value {
  width: 100px !important;
  text-align: center;
}

.eccw-template-preview-wrapper {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.eccw-template-preview-wrapper label {
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}
.eccw-template-preview-wrapper label .eccw-template-preview-image {
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 5px;
  margin-top: 5px;
}
.eccw-template-preview-wrapper label p {
  margin-top: 5px;
}
.eccw-template-preview-wrapper input[type=radio]:checked + div {
  border-color: #2271b1;
  box-shadow: 0 0 0 1px #2271b1;
}
.eccw-template-preview-wrapper img {
  height: 100px;
  max-width: 150px;
  display: block;
}

.eccw-button-wrapper {
  display: flex;
  gap: 10px;
}
.eccw-button-wrapper 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;
}
.eccw-shortcode-modal h3,
.eccw-create-shortcode-modal h3 {
  margin-top: 0;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 1.4rem;
  color: #333;
  text-align: center;
}
.eccw-shortcode-modal label,
.eccw-create-shortcode-modal label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #555;
  font-size: 0.9rem;
}
.eccw-shortcode-modal #eccw_switcher_name_field,
.eccw-create-shortcode-modal #eccw_switcher_name_field {
  width: 80% !important;
}
.eccw-shortcode-modal form button,
.eccw-create-shortcode-modal 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;
}
.eccw-shortcode-modal form button.button-primary,
.eccw-create-shortcode-modal form button.button-primary {
  background-color: #0057d9;
  color: #fff;
}
.eccw-shortcode-modal form button.button-primary:hover,
.eccw-create-shortcode-modal form button.button-primary:hover {
  background-color: #003ea1;
}
.eccw-shortcode-modal form button:hover:not(.button-primary),
.eccw-create-shortcode-modal form button: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-list .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);
}
.eccw-geo-country-table-list .eccw-geo-country-table thead {
  background: #f6f7f7;
}
.eccw-geo-country-table-list .eccw-geo-country-table thead th {
  padding: 12px 15px;
  font-weight: 600;
  font-size: 14px;
  text-align: left;
  color: #1d2327;
  border-bottom: 1px solid #dcdcde;
}
.eccw-geo-country-table-list .eccw-geo-country-table tbody tr:nth-child(even) {
  background: #fbfbfb;
}
.eccw-geo-country-table-list .eccw-geo-country-table tbody tr:hover {
  background: #f0f6fc;
}
.eccw-geo-country-table-list .eccw-geo-country-table tbody tr td {
  padding: 10px 15px;
  font-size: 13px;
  color: #2c3338;
  vertical-align: middle;
  border-bottom: 1px solid #eee;
}
.eccw-geo-country-table-list .eccw-geo-country-table tbody tr td:first-child {
  font-weight: 500;
  color: #1d2327;
  white-space: nowrap;
}
.eccw-geo-country-table-list .eccw-geo-country-table tbody tr td 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;
}
.eccw-geo-country-table-list .eccw-geo-country-table tbody tr td select.eccw-searchable-country-select:focus {
  border-color: #2271b1;
  box-shadow: 0 0 0 1px #2271b1;
  outline: none;
}
.eccw-geo-country-table-list .eccw-geo-country-table tbody tr td .button {
  font-size: 12px;
  padding: 4px 10px;
  margin-right: 6px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.eccw-geo-country-table-list .eccw-geo-country-table tbody tr td .button.select-all-countries {
  background: #2271b1;
  color: #fff;
  border-color: #2271b1;
}
.eccw-geo-country-table-list .eccw-geo-country-table tbody tr td .button.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,
.easy-currency-pro-feature .select-all-countries,
.easy-currency-pro-feature .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;
}
.eccw_fixed_price_options_group .fixed_price_rule_item {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.eccw_fixed_price_options_group .fixed_price_rule_item input {
  width: 30%;
}
.eccw_fixed_price_options_group .fixed_price_rule_item .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;
}

.easy-currency-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}
.easy-currency-table thead tr {
  background: #f8f8f8;
}
.easy-currency-table thead th {
  padding: 10px 12px;
  font-weight: 600;
  color: #333;
  border-bottom: 2px solid #e5e7eb;
  white-space: nowrap;
}
.easy-currency-table tbody tr {
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.15s;
}
.easy-currency-table tbody tr:hover {
  background: #fafbff;
}
.easy-currency-table td {
  padding: 8px 12px;
  vertical-align: middle;
}
.easy-currency-table input.currency-rate,
.easy-currency-table input.eccw-rate-input {
  width: 90px !important;
  text-align: right;
}
.easy-currency-table .eccw-row-symbol {
  font-weight: 600;
  color: #444;
  font-size: 14px;
}
.easy-currency-table .eccw-row-position {
  color: #666;
  font-size: 12px;
}
.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 .eccw-delete-row {
  pointer-events: none;
  opacity: 0.45;
  cursor: not-allowed;
}
.easy-currency-table 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;
}
.easy-currency-table input[type=radio][name="eccw_currency_table[default]"]:hover {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.12);
}
.easy-currency-table input[type=radio][name="eccw_currency_table[default]"]:focus, .easy-currency-table input[type=radio][name="eccw_currency_table[default]"]:focus-visible {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
  outline: none;
}
.easy-currency-table input[type=radio][name="eccw_currency_table[default]"]:checked {
  border-color: #007bff;
  background-color: #007bff;
  box-shadow: inset 0 0 0 3px #fff;
}
.easy-currency-table input[type=radio][name="eccw_currency_table[default]"]:checked:hover {
  box-shadow: inset 0 0 0 3px #fff, 0 0 0 3px rgba(0, 123, 255, 0.12);
}
.easy-currency-table input[type=radio][name="eccw_currency_table[default]"]:checked:focus, .easy-currency-table input[type=radio][name="eccw_currency_table[default]"]:checked:focus-visible {
  box-shadow: inset 0 0 0 3px #fff, 0 0 0 3px rgba(0, 123, 255, 0.2);
}
.easy-currency-table input[type=radio][name="eccw_currency_table[default]"]:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  background-color: #f5f5f5;
}

.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;
}
.eccw-action-btn:hover {
  background: #f0f4ff;
  border-color: #2271b1;
  color: #2271b1;
}
.eccw-action-btn.eccw-delete-row:hover {
  background: #fff5f5;
  border-color: #e41749;
  color: #e41749;
}
.eccw-action-btn.eccw-update-rate-row:hover {
  background: #f0fff4;
  border-color: #12c99b;
  color: #12c99b;
}
.eccw-action-btn.eccw-spinning svg {
  animation: eccw-spin 0.8s linear infinite;
}

@keyframes eccw-spin {
  to {
    transform: rotate(360deg);
  }
}
.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;
  -o-object-fit: cover;
     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;
}
.select2-container--default .select2-selection--single:hover {
  border-color: #9ca3af;
}
.select2-container--default .select2-selection--single .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;
}
.select2-container--default .select2-selection--single .select2-selection__rendered strong {
  font-weight: 600;
  color: #111827;
  letter-spacing: 0.2px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 38px;
  width: 30px;
  right: 4px;
  top: 0;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: #6b7280 transparent transparent transparent;
  border-width: 5px 4px 0 4px;
}
.select2-container--default .select2-selection--single .select2-selection__clear {
  color: #9ca3af;
  font-weight: 400;
  margin-right: 6px;
}
.select2-container--default .select2-selection--single .select2-selection__clear:hover {
  color: #dc2626;
}
.select2-container--default.select2-container--focus .select2-selection--single, .select2-container--default.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--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent #6b7280 transparent;
  border-width: 0 4px 5px 4px;
}
.select2-container--default .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-container--default .select2-search--dropdown {
  padding: 10px;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}
.select2-container--default .select2-search--dropdown .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;
}
.select2-container--default .select2-search--dropdown .select2-search__field:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.select2-container--default .select2-results__options {
  padding: 4px;
  max-height: 260px;
}
.select2-container--default .select2-results__option {
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13px;
  color: #374151;
  margin: 2px 0;
}
.select2-container--default .select2-results__option[aria-selected=true] {
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 500;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: #2563eb;
  color: #fff;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] strong {
  color: #fff;
}

.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-currency-edit-panel.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;
}
.eccw-edit-panel-header 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;
}
.eccw-edit-panel-close:hover {
  background: #fee2e2;
  color: #e41749;
}

.eccw-edit-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.eccw-panel-field {
  margin-bottom: 18px;
}
.eccw-panel-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.eccw-panel-field input[type=text],
.eccw-panel-field input[type=number],
.eccw-panel-field 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;
}
.eccw-panel-field input[type=text]:focus,
.eccw-panel-field input[type=number]:focus,
.eccw-panel-field select: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;
}
.eccw-panel-inline input {
  flex: 1;
}
.eccw-panel-inline 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;
}
.eccw-edit-panel-footer .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.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-modal.eccw-confirm-open {
  opacity: 1;
  pointer-events: auto;
}
.eccw-confirm-modal.eccw-confirm-open .eccw-confirm-dialog {
  transform: translateY(0) scale(1);
}
.eccw-confirm-modal .eccw-confirm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.55);
  backdrop-filter: blur(2px);
}
.eccw-confirm-modal .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-modal .eccw-confirm-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.eccw-confirm-modal .eccw-confirm-icon.eccw-confirm-icon-danger {
  background: #fee2e2;
  color: #dc2626;
}
.eccw-confirm-modal .eccw-confirm-icon.eccw-confirm-icon-warning {
  background: #fef3c7;
  color: #d97706;
}
.eccw-confirm-modal .eccw-confirm-title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
  color: #111827;
}
.eccw-confirm-modal .eccw-confirm-message {
  margin: 0 0 22px;
  font-size: 13px;
  color: #4b5563;
  line-height: 1.5;
}
.eccw-confirm-modal .eccw-confirm-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.eccw-confirm-modal .eccw-confirm-actions .button {
  min-width: 110px;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
}
.eccw-confirm-modal .eccw-confirm-ok-danger {
  background: #dc2626 !important;
  border-color: #dc2626 !important;
  color: #fff !important;
  text-shadow: none !important;
  box-shadow: none !important;
}
.eccw-confirm-modal .eccw-confirm-ok-danger:hover, .eccw-confirm-modal .eccw-confirm-ok-danger: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;
}
.content-header .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;
}
.content-header .eccw-upgrade-notice strong {
  color: #c2410c;
  font-weight: 600;
}
.content-header .eccw-upgrade-notice .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;
}
.content-header .eccw-upgrade-notice .eccw-upgrade-link:hover, .content-header .eccw-upgrade-notice .eccw-upgrade-link: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;
}
.button.add-currency:hover, .button.add-currency: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;
}
.button.add-currency:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.25) !important;
}
.button.add-currency .eccw-add-icon {
  flex-shrink: 0;
}
.button.add-currency 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;
}
.button.button-primary.update-currency-rates:hover, .button.button-primary.update-currency-rates: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;
}
.button.button-primary.update-currency-rates:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(29, 78, 216, 0.25) !important;
}
.button.button-primary.update-currency-rates .eccw-update-icon {
  flex-shrink: 0;
  transition: transform 0.5s ease;
}
.button.button-primary.update-currency-rates:hover .eccw-update-icon {
  transform: rotate(180deg);
}
.button.button-primary.update-currency-rates 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;
}
.eccw-settings-tabs #tabs-nav 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;
}
.eccw-settings-tabs #tabs-nav li 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;
}
.eccw-settings-tabs #tabs-nav li a:focus, .eccw-settings-tabs #tabs-nav li a:focus-visible {
  outline: none;
  box-shadow: none;
}
.eccw-settings-tabs #tabs-nav li:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
}
.eccw-settings-tabs #tabs-nav li:hover a {
  color: #fff !important;
}
.eccw-settings-tabs #tabs-nav li.active {
  background: #1d4ed8;
  border-color: #1d4ed8;
}
.eccw-settings-tabs #tabs-nav li.active 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.1);
  max-width: 99%;
}
.eccw-pro-upgrade-notice .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);
}
.eccw-pro-upgrade-notice p {
  margin: 0;
  color: #78350f;
  font-size: 13px;
  line-height: 1.5;
}
.eccw-pro-upgrade-notice .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);
}
.eccw-pro-upgrade-notice .eccw-pro-upgrade-link:hover, .eccw-pro-upgrade-notice .eccw-pro-upgrade-link:focus {
  background: #d97706;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.35);
  outline: none;
}
.eccw-pro-upgrade-notice .eccw-pro-upgrade-link svg {
  transition: transform 0.15s ease;
}
.eccw-pro-upgrade-notice .eccw-pro-upgrade-link: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 .eccw-gopro-header-text {
  flex: 1;
}
.eccw-gopro-header .eccw-gopro-header-text h2 {
  margin: 8px 0 6px !important;
  font-size: 22px;
  color: #78350f;
  background: transparent !important;
  padding: 0 !important;
}
.eccw-gopro-header .eccw-gopro-header-text p {
  margin: 0;
  color: #92400e;
  font-size: 13px;
  line-height: 1.5;
  max-width: 620px;
}
.eccw-gopro-header .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-header .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;
}
.eccw-gopro-header .eccw-gopro-cta:hover, .eccw-gopro-header .eccw-gopro-cta: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);
}
.eccw-gopro-table 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;
}
.eccw-gopro-table thead th:first-child {
  text-align: left;
}
.eccw-gopro-table thead th.eccw-gopro-col-pro {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
}
.eccw-gopro-table tbody td {
  padding: 13px 18px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13px;
  color: #111827;
  vertical-align: middle;
}
.eccw-gopro-table tbody tr:last-child td {
  border-bottom: none;
}
.eccw-gopro-table tbody tr:hover td {
  background: #f8fafc;
}
.eccw-gopro-table .eccw-gopro-feature {
  font-weight: 500;
}
.eccw-gopro-table .eccw-gopro-cell {
  text-align: center;
  width: 90px;
}
.eccw-gopro-table .eccw-gopro-col-pro {
  background: rgba(254, 243, 199, 0.25);
}
.eccw-gopro-table .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-table .eccw-gopro-col-pro .eccw-gopro-check {
  background: #f59e0b;
  color: #fff;
}
.eccw-gopro-table .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 .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;
}
.eccw-gopro-footer .eccw-gopro-footer-cta:hover, .eccw-gopro-footer .eccw-gopro-footer-cta:focus {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(245, 158, 11, 0.4);
  outline: none;
}
.eccw-gopro-footer .eccw-gopro-footer-cta:hover svg, .eccw-gopro-footer .eccw-gopro-footer-cta:focus svg {
  transform: translateX(3px);
}
.eccw-gopro-footer .eccw-gopro-footer-cta 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;
  }
}