/* Simtaly Plugin Styles */

/* ========================================
   Loading State
   ======================================== */

/* Loading overlay during page reload (currency switching) */
body.simtaly-loading::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 999999;
    pointer-events: none;
}

/* Loading spinner */
body.simtaly-loading::after {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid #0a538e;
    border-top-color: transparent;
    border-radius: 50%;
    z-index: 1000000;
    animation: simtaly-spin 0.8s linear infinite;
}

@keyframes simtaly-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   Location Zones
   ======================================== */

/* Location Zones */
.simtaly-location-zones-container {
    margin: 20px 0;
}

.simtaly-location-zones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 250px); /* Fixed 250px to match horizontal zones */
    justify-content: center; /* Center cards on desktop */
    gap: 20px;
    margin-bottom: 20px;
}

/* Apply same fixed-width layout to Elementor widget grid */
.simtaly-zones-grid {
    grid-template-columns: repeat(auto-fit, 250px) !important;
    justify-content: center;
}

/* Fixed card heights for both grid systems */
.simtaly-location-zones-grid .simtaly-zone-card,
.simtaly-location-zones-grid .simtaly-location-zone,
.simtaly-zones-grid .simtaly-zone-card {
    height: 100%;
    min-height: 320px;
    max-height: 450px;
}

.simtaly-location-zone {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.simtaly-location-zone:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.simtaly-zone-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.simtaly-zone-image img {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    object-fit: cover;
}

.simtaly-zone-info {
    flex: 1;
}

.simtaly-zone-name {
    margin: 0 0 8px 0;
    /* font-size: 1.2em;
    font-weight: 600; */
    color: #333;
}

.simtaly-zone-description {
    margin: 0 0 10px 0;
    color: #666;
    line-height: 1.4;
}

.simtaly-zone-coverage {
    font-size: 0.9em;
    color: #555;
}

.simtaly-coverage-label {
    font-weight: 500;
    margin-right: 5px;
}

.simtaly-zone-features {
    margin: 15px 0;
}

.simtaly-features-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.simtaly-feature-item {
    padding: 4px 0;
    font-size: 0.9em;
    color: #555;
}

.simtaly-feature-item:before {
    content: "✓";
    color: #4CAF50;
    font-weight: bold;
    margin-right: 8px;
}

.simtaly-zone-actions {
    margin-top: 15px;
    text-align: center;
}

.simtaly-view-products-btn {
    background: #007cba;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: background-color 0.2s;
}

.simtaly-view-products-btn:hover {
    background: #005a87;
    color: white;
    text-decoration: none;
}

/* Products - Reuses Zone Card Structure */
.simtaly-products-container {
    margin: 0px 0;
}

/* Product Section with Headings */
.simtaly-product-section {
    margin-bottom: 40px;
}

.simtaly-product-section:last-child {
    margin-bottom: 20px;
}

.simtaly-product-section-heading {
    font-size: 1.5em;
    font-weight: 600;
    margin: 0 0 20px 0;
    color: #333;
    border-bottom: 2px solid #007cba;
    padding-bottom: 10px;
}

.simtaly-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.simtaly-unlimited-container {
    display: flex;
    margin-bottom: 20px;
}

.simtaly-unlimited-container .simtaly-product-unlimited-consolidated {
    flex: 1;
    max-width: none;
}

/* Product-specific styles - compact layout without gradient header */
.simtaly-product-card {
    position: relative;
}

.simtaly-product-info-compact {
    padding: 16px !important;
    flex: 1 !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Product card title wrapper - vertical layout for title + validity */
.simtaly-product-info-compact .simtaly-zone-card-title-wrapper {
    flex-direction: column;
    align-items: flex-start;
    flex: 0 0 auto;
    gap: 4px;
}

/* Popular product styling - orange frame + text badge */
.simtaly-product-card.simtaly-popular {
    border-color: #F18200;
    border-width: 2px;
    box-shadow: 0 2px 8px rgba(241, 130, 0, 0.15);
}

.simtaly-product-card.simtaly-popular:hover {
    border-color: #F18200;
    box-shadow: 0 8px 20px rgba(241, 130, 0, 0.25);
}

/* Highlighted product styling - full blue theme for URL parameter deep-linking */
.simtaly-product-card.simtaly-highlighted {
    border-color: #007cba;
    border-width: 2px;
    box-shadow: 0 2px 8px rgba(0, 124, 186, 0.15);
}

.simtaly-product-card.simtaly-highlighted:hover {
    border-color: #005a87;
    box-shadow: 0 8px 20px rgba(0, 124, 186, 0.25);
}

/* Blue price text for highlighted products */
.simtaly-product-card.simtaly-highlighted .simtaly-price-amount {
    color: #007cba;
    font-weight: 600;
}

/* Blue buy button for highlighted products */
.simtaly-product-card.simtaly-highlighted .simtaly-buy-now-btn {
    background: #007cba;
}

.simtaly-product-card.simtaly-highlighted .simtaly-buy-now-btn:hover {
    background: #005a87;
    box-shadow: 0 4px 12px rgba(0, 124, 186, 0.3);
}

.simtaly-product-card .simtaly-popular-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #F18200;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(241, 130, 0, 0.3);
    z-index: 2;
}

/* Compact title with GB and days on separate lines */
.simtaly-product-card .simtaly-zone-card-title {
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 4px;
}

.simtaly-product-gb-highlight {
    font-size: 1.2em;
    font-weight: 800;
    color: #2c3e50;
}

.simtaly-product-unlimited-highlight {
    font-size: 1.2em;
    font-weight: 800;
    color: #007cba;
}

.simtaly-product-validity {
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
    margin-bottom: 8px;
}

/* Validity Dropdown for Consolidated Unlimited Products */
.simtaly-product-validity-dropdown-wrapper {
    margin-top: 8px;
    margin-bottom: 8px;
    width: 100%;
}

.simtaly-validity-dropdown {
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
    background-color: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%232c3e50' d='M1.41 0L6 4.59L10.59 0L12 1.41l-6 6l-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 36px;
}

.simtaly-validity-dropdown:hover {
    border-color: #007cba;
    box-shadow: 0 2px 4px rgba(0, 124, 186, 0.1);
}

.simtaly-validity-dropdown:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.simtaly-validity-dropdown option {
    padding: 8px;
    font-weight: 500;
}

/* Adjust consolidated card layout */
.simtaly-product-unlimited-consolidated {
    grid-column: span 1;
    max-width: 100%;
}

.simtaly-product-unlimited-consolidated .simtaly-zone-card-title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Unlimited throttling info box - Minimalist modern card */
.simtaly-unlimited-info-box {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 9px 12px;
    background-color: #f8f9fa;
    border-radius: 4px;
    font-size: 11px;
    line-height: 1.5;
    color: #6c757d;
    text-align: left;
}

.simtaly-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #e9ecef;
    font-size: 11px;
    font-style: normal;
    color: #6c757d;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.simtaly-info-text {
    flex: 1;
}

.simtaly-info-text strong {
    font-weight: 700;
    color: #2c3e50;
}

/* Horizontal pricing layout with strikethrough */
.simtaly-zone-card-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.simtaly-original-price-small {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
}

.simtaly-price-amount {
    font-size: 14px;
    color: #F18200;
    font-weight: 600;
}

/* Product buy button - compact styling */
.simtaly-product-card .simtaly-buy-now-btn {
    width: calc(100% - 32px);
    margin: 8px 16px 16px 16px;
    padding: 10px;
    border: none;
    border-radius: 6px;
    background: var(--ast-global-color-0, #F18200);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
}

.simtaly-product-card .simtaly-buy-now-btn:hover {
    background: var(--ast-global-color-1, #FF9C27);
    box-shadow: 0 4px 12px rgba(241, 130, 0, 0.2);
}

/* Error Messages */
.simtaly-error {
    background: #ffebee;
    color: #c62828;
    padding: 15px;
    border: 1px solid #ffcdd2;
    border-radius: 4px;
    margin: 20px 0;
}

/* No Results */
.simtaly-no-zones,
.simtaly-no-products {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-style: italic;
}

/* ========================================
   Shared Switcher Styles (Currency & Language)
   ======================================== */

/* Switcher Container */
.simtaly-currency-switcher,
.simtaly-language-switcher {
    display: inline-block;
    position: relative;
    font-family: inherit;
}

/* Custom Dropdown Container */
.simtaly-currency-custom-dropdown,
.simtaly-language-custom-dropdown {
    position: relative;
    display: inline-block;
}

/* Shared Trigger Button Styles */
.simtaly-currency-trigger,
.simtaly-language-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: #ffffff !important;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
    color: #333 !important;
    transition: background 0.2s ease;
    min-width: auto;
}

.simtaly-currency-trigger:hover,
.simtaly-language-trigger:hover {
    background: #f9f9f9 !important;
    color: #333 !important;
}

.simtaly-currency-trigger[aria-expanded="true"],
.simtaly-language-trigger[aria-expanded="true"] {
    background: #f5f5f5 !important;
}

.simtaly-currency-trigger:active,
.simtaly-currency-trigger:focus,
.simtaly-language-trigger:active,
.simtaly-language-trigger:focus {
    background: #ffffff !important;
    color: #333 !important;
}

/* Shared Chevron Styles */
.simtaly-currency-trigger .simtaly-currency-chevron,
.simtaly-language-trigger .simtaly-language-chevron {
    width: 12px;
    height: 8px;
    color: #666;
    transition: transform 0.2s ease;
}

.simtaly-currency-trigger[aria-expanded="true"] .simtaly-currency-chevron,
.simtaly-language-trigger[aria-expanded="true"] .simtaly-language-chevron {
    transform: rotate(180deg);
}

/* Shared Dropdown Menu Styles */
.simtaly-currency-menu,
.simtaly-language-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 100%;
    width: max-content;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    box-shadow: none;
    padding: 4px 0;
    margin: 0;
    list-style: none;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

/* Remove borders from list items */
.simtaly-currency-menu li,
.simtaly-language-menu li {
    border: none;
    margin: 0;
    padding: 0;
}

.simtaly-currency-menu.active,
.simtaly-language-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Shared Menu Item Styles */
.simtaly-currency-item,
.simtaly-language-item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 12px;
    background: transparent;
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    text-align: left;
    transition: background 0.15s ease;
    white-space: nowrap;
}

.simtaly-currency-item:hover,
.simtaly-language-item:hover {
    background: #f5f5f5 !important;
}

.simtaly-currency-item.active,
.simtaly-language-item.active {
    background: #e3f2fd !important;
    font-weight: 600;
    cursor: default !important;
}

.simtaly-currency-item.active:hover,
.simtaly-language-item.active:hover {
    background: #e3f2fd !important;
}

/* Shared Focus States */
.simtaly-currency-trigger:focus,
.simtaly-language-trigger:focus {
    outline: none;
}

.simtaly-currency-trigger:focus-visible,
.simtaly-language-trigger:focus-visible {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

.simtaly-currency-item:focus,
.simtaly-language-item:focus {
    outline: none;
}

.simtaly-currency-item:focus-visible,
.simtaly-language-item:focus-visible {
    outline: 2px solid #007cba;
    outline-offset: -2px;
    background: #f5f5f5;
}

/* ========================================
   Currency Switcher - Specific Styles
   ======================================== */

/* Currency-specific styles (symbols and codes) */
.simtaly-currency-trigger .simtaly-currency-symbol {
    font-size: 11px;
    font-weight: 500;
    color: #999;
    flex-shrink: 0;
    min-width: 30px;
    text-align: right;
}

.simtaly-currency-trigger .simtaly-currency-code {
    flex: 1;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.simtaly-currency-item .simtaly-currency-symbol {
    font-size: 11px;
    font-weight: 500;
    color: #999;
    flex-shrink: 0;
    min-width: 30px;
    text-align: right;
}

.simtaly-currency-item .simtaly-currency-code {
    flex: 1;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.simtaly-currency-item .simtaly-currency-check {
    display: none;
}

/* ========================================
   Language Switcher - Specific Styles
   ======================================== */

/* Language-specific styles (flags, names, link behavior) */
.simtaly-language-trigger {
    text-decoration: none;
    white-space: nowrap;
}

.simtaly-language-trigger .simtaly-language-flag {
    width: 18px;
    height: 13px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.simtaly-language-trigger .simtaly-language-code {
    flex: 1;
    font-weight: 500;
    color: #333;
    text-transform: uppercase;
}

.simtaly-language-item {
    text-decoration: none;
}

.simtaly-language-item .simtaly-language-flag {
    width: 18px;
    height: 13px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.simtaly-language-item .simtaly-language-name {
    flex: 1;
    font-weight: 500;
    color: #333;
}

.simtaly-language-item .simtaly-language-check {
    display: none;
}

/* Button Style (legacy, for non-dropdown mode) */
.simtaly-language-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.simtaly-language-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    text-decoration: none;
    transition: background 0.2s ease;
}

.simtaly-language-btn:hover {
    background: #f9f9f9;
}

.simtaly-language-btn.active {
    background: #f0f7ff;
    color: #007cba;
}

.simtaly-language-btn .simtaly-language-flag-small {
    width: 16px;
    height: 12px;
    object-fit: cover;
    border-radius: 2px;
}

.simtaly-language-btn:focus {
    outline: none;
}

.simtaly-language-btn:focus-visible {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

/* ========================================
   Legacy Currency Switcher Styles
   ======================================== */

/* Custom Select Wrapper */
.simtaly-currency-select-wrapper {
    position: relative;
    display: inline-block;
}

/* Enhanced Dropdown Styling */
.simtaly-currency-dropdown {
    /* Remove default styling */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    /* Inherit theme styles */
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    line-height: inherit;

    /* Clean, borderless design */
    background: transparent;
    border: none;
    outline: none;
    padding: 6px 24px 6px 8px;
    cursor: pointer;

    /* Smooth transitions */
    transition: all 0.2s ease;

    /* Ensure proper display */
    min-width: 60px;
    text-align: left;

    /* Remove default focus styles */
    box-shadow: none;
}

.simtaly-currency-dropdown:hover,
.simtaly-currency-dropdown:focus {
    /* Subtle hover effect */
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

/* Custom Arrow Icon */
.simtaly-currency-arrow {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: currentColor;
    opacity: 0.7;
    transition: all 0.2s ease;
}

.simtaly-currency-select-wrapper:hover .simtaly-currency-arrow {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.simtaly-currency-arrow svg {
    display: block;
    width: 12px;
    height: 8px;
}

/* Enhanced Button Style */
.simtaly-currency-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.simtaly-currency-btn {
    /* Inherit theme styles */
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    line-height: inherit;

    /* Clean design */
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    padding: 6px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 50px;
    text-align: center;

    /* Remove default button styles */
    outline: none;
    box-shadow: none;
}

.simtaly-currency-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.simtaly-currency-btn.active {
    background: var(--ast-global-color-0, #007cba);
    color: #ffffff;
    border-color: var(--ast-global-color-0, #007cba);
    font-weight: 600;
    cursor: default !important;
}

.simtaly-currency-btn.active:hover {
    background: var(--ast-global-color-0, #007cba);
    border-color: var(--ast-global-color-0, #007cba);
    transform: none;
}

/* Header Integration Styles */
.site-header .simtaly-currency-switcher,
.main-header-menu .simtaly-currency-switcher,
.ast-header-menu .simtaly-currency-switcher {
    margin: 0;
}

.site-header .simtaly-currency-dropdown,
.main-header-menu .simtaly-currency-dropdown,
.ast-header-menu .simtaly-currency-dropdown {
    color: inherit;
    font-weight: inherit;
}

/* Focus accessibility styles */
.simtaly-currency-dropdown:focus-visible {
    outline: 2px solid var(--ast-global-color-0, #007cba);
    outline-offset: 2px;
    border-radius: 4px;
}

.simtaly-currency-btn:focus-visible {
    outline: 2px solid var(--ast-global-color-0, #007cba);
    outline-offset: 2px;
}

/* ============================================
   MOBILE SWITCHERS - ASTRA OFF-CANVAS MENU
   ============================================ */

/* General mobile switcher styling */
.simtaly-switcher-mobile {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* ========================================
   Mobile Switchers - Collapsed Trigger + Full-Screen Overlay Pattern
   ======================================== */

/* Mobile Switcher Wrappers */
.simtaly-currency-switcher.simtaly-switcher-mobile,
.simtaly-language-switcher.simtaly-switcher-mobile {
    display: block !important;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* ========================================
   Collapsed Trigger (Menu Item Style)
   ======================================== */

.simtaly-mobile-trigger {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100%;
    padding: 14px 12px 14px 20px;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    border-bottom: 1px solid #e5e5e5;
    color: #333 !important;
    font-size: 16px;
    font-weight: 400 !important;
    text-align: left;
    cursor: pointer;
    transition: none;
    min-height: 48px;
    box-sizing: border-box;
    line-height: 1.5;
}

.simtaly-mobile-trigger:hover,
.simtaly-mobile-trigger:focus {
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Language Trigger: Flag + Name */
.simtaly-language-mobile-trigger {
    gap: 12px;
    justify-content: space-between !important;
}

.simtaly-trigger-flag {
    width: 24px;
    height: 18px;
    border-radius: 2px;
    flex-shrink: 0;
    object-fit: cover;
}

.simtaly-trigger-text {
    flex: 1;
    text-align: left;
    font-weight: 400;
    text-transform: none !important;
}

/* Currency Trigger: Symbol + Code */
.simtaly-currency-mobile-trigger {
    gap: 12px;
    justify-content: space-between !important;
}

.simtaly-trigger-symbol {
    width: 24px;
    text-align: center;
    font-size: 11px;
    font-weight: 500;
    color: #999;
    flex-shrink: 0;
}

.simtaly-trigger-chevron {
    flex-shrink: 0;
    opacity: 0.6;
    margin-left: auto;
}

/* ========================================
   Full-Screen Overlay
   ======================================== */

.simtaly-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 999999;
    display: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.simtaly-mobile-overlay.is-open {
    display: block !important;
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

/* Close Button (Top-Left Back Arrow) */
.simtaly-overlay-close {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 44px;
    height: 44px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: none !important;
    color: #0a538e !important;
    cursor: pointer;
    border-radius: 0 !important;
    transition: background 0.2s ease;
    z-index: 999999;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

.simtaly-overlay-close:hover,
.simtaly-overlay-close:focus {
    background: #f0f0f0 !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

.simtaly-overlay-close svg {
    width: 24px !important;
    height: 24px !important;
    display: block !important;
    pointer-events: none !important;
    overflow: visible !important;
}

.simtaly-overlay-close svg path {
    stroke: #0a538e !important;
    stroke-width: 3 !important;
    fill: none !important;
    vector-effect: non-scaling-stroke !important;
}

/* Overlay Content Container */
.simtaly-overlay-content {
    padding: 72px 20px 20px 20px; /* Top padding to clear close button */
    width: 100%;
    box-sizing: border-box;
}

/* ========================================
   Currency Options (Grid Inside Overlay)
   ======================================== */

.simtaly-currency-buttons-mobile {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
    width: 100%;
}

.simtaly-currency-btn-mobile {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 16px 8px;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 12px;
    color: #333 !important;
    font-size: 14px;
    font-weight: 500;
    min-height: 72px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.simtaly-currency-btn-mobile:hover,
.simtaly-currency-btn-mobile:focus {
    background: #e9ecef;
    border-color: #007cba;
    outline: none;
}

.simtaly-currency-btn-mobile.active {
    background: #007cba !important;
    color: #fff !important;
    border-color: #007cba !important;
    cursor: default !important;
}

.simtaly-currency-btn-mobile.active:hover,
.simtaly-currency-btn-mobile.active:focus {
    background: #007cba !important;
    border-color: #007cba !important;
}

.simtaly-currency-btn-mobile .simtaly-currency-symbol {
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
}

.simtaly-currency-btn-mobile .simtaly-currency-code {
    font-size: 13px;
    opacity: 0.9;
    line-height: 1;
}

/* ========================================
   Language Options (List Inside Overlay)
   ======================================== */

.simtaly-language-buttons-mobile {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px;
    width: 100%;
}

.simtaly-language-btn-mobile {
    display: flex !important;
    align-items: center !important;
    gap: 16px;
    padding: 16px 20px;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 12px;
    text-decoration: none !important;
    color: #333 !important;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.2s ease;
    min-height: 64px; /* Touch target */
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.simtaly-language-btn-mobile:hover,
.simtaly-language-btn-mobile:focus {
    background: #e9ecef;
    border-color: #007cba;
    outline: none;
}

.simtaly-language-btn-mobile.active {
    background: #007cba !important;
    color: #fff !important;
    border-color: #007cba !important;
}

.simtaly-language-flag-mobile {
    display: block !important;
    width: 32px;
    height: 24px;
    border-radius: 4px;
    flex-shrink: 0;
    object-fit: cover;
}

.simtaly-language-name-mobile {
    flex: 1;
    text-align: left;
    display: block !important;
}

.simtaly-language-check-mobile {
    display: block !important;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* ========================================
   Astra Theme Compatibility
   ======================================== */

/* Ensure triggers match Astra menu items exactly */
.ast-mobile-popup-content .simtaly-mobile-trigger,
.ast-mobile-header-content .simtaly-mobile-trigger,
.ast-mobile-menu-buttons .simtaly-mobile-trigger {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    padding: 14px 12px 14px 20px !important;
    margin: 0 !important;
    font-weight: 400 !important;
    box-shadow: none !important;
}

.ast-mobile-popup-content .simtaly-mobile-trigger:hover,
.ast-mobile-header-content .simtaly-mobile-trigger:hover,
.ast-mobile-popup-content .simtaly-mobile-trigger:focus,
.ast-mobile-header-content .simtaly-mobile-trigger:focus {
    background: transparent !important;
    box-shadow: none !important;
}

.ast-mobile-popup-content .simtaly-language-btn-mobile,
.ast-mobile-header-content .simtaly-language-btn-mobile {
    color: #333 !important;
    text-decoration: none !important;
}

.ast-mobile-popup-content .simtaly-language-btn-mobile.active,
.ast-mobile-header-content .simtaly-language-btn-mobile.active {
    color: #fff !important;
    background: #007cba !important;
}

.ast-mobile-popup-content .simtaly-currency-btn-mobile,
.ast-mobile-header-content .simtaly-currency-btn-mobile {
    color: #333 !important;
}

.ast-mobile-popup-content .simtaly-currency-btn-mobile.active,
.ast-mobile-header-content .simtaly-currency-btn-mobile.active {
    color: #fff !important;
    background: #007cba !important;
}

/* ========================================
   Accessibility
   ======================================== */

/* High contrast mode support */
@media (prefers-contrast: high) {
    .simtaly-mobile-trigger,
    .simtaly-currency-btn-mobile,
    .simtaly-language-btn-mobile {
        border-width: 2px;
        border-color: #000;
    }

    .simtaly-currency-btn-mobile.active,
    .simtaly-language-btn-mobile.active {
        background: #000 !important;
        color: #fff !important;
        border-color: #000 !important;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .simtaly-mobile-overlay.is-open {
        animation: none;
    }

    .simtaly-mobile-trigger,
    .simtaly-currency-btn-mobile,
    .simtaly-language-btn-mobile,
    .simtaly-overlay-close {
        transition: none;
    }
}

/* Ensure mobile switchers don't inherit desktop styles */
.simtaly-switcher-mobile .simtaly-currency-custom-dropdown,
.simtaly-switcher-mobile .simtaly-language-custom-dropdown {
    display: none !important;
}

/* Elementor Widget Specific */
.simtaly-elementor-zone-products {
    width: 100%;
}

.simtaly-debug-info {
    background: #f0f0f0;
    padding: 10px;
    margin-bottom: 15px;
    border-left: 4px solid #007cba;
    font-size: 0.9em;
    line-height: 1.4;
}

.simtaly-debug-info strong {
    display: block;
    margin-bottom: 5px;
}

.simtaly-loading-state {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-style: italic;
}

/* Location Zones Grid Widget */
.simtaly-location-zones-grid-widget {
    width: 100%;
}

.simtaly-location-zones-grid-container {
    width: 100%;
}

/* Toggle Buttons */
.simtaly-zones-toggle {
    text-align: center;
    margin-bottom: 30px;
}

/* Segmented Control Container */
.simtaly-zones-toggle {
    display: inline-flex;
    background: #f5f5f5;
    border-radius: 8px;
    padding: 4px;
    position: relative;
    gap: 0;
}

/* Sliding Indicator */
.simtaly-toggle-indicator {
    position: absolute;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    top: 4px;
    bottom: 4px;
    left: 4px;
    pointer-events: none;
}

/* Toggle Buttons */
.simtaly-toggle-btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 0;
    border: none !important;
    background: transparent !important;
    color: #666 !important;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    text-transform: capitalize;
    letter-spacing: 0;
    cursor: pointer;
    transition: color 0.3s ease;
    position: relative;
    z-index: 2;
    box-shadow: none !important;
}

.simtaly-toggle-btn:hover {
    color: #fea500 !important;
    background: transparent !important;
}

.simtaly-toggle-btn.active {
    color: #fea500 !important;
    font-weight: 600;
    background: transparent !important;
}

/* Grid Container */
.simtaly-zones-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
}

/* Zone Cards */
.simtaly-zone-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.simtaly-zone-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #007cba;
}

/* Card Image Section (2/3 of card) */
.simtaly-zone-card-image {
    position: relative;
    overflow: hidden;
    flex: 2;
    min-height: 200px;
}

.simtaly-zone-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.simtaly-zone-card:hover .simtaly-zone-card-image img {
    transform: scale(1.08);
}

/* Aspect Ratio Classes for Images */
.simtaly-zones-grid.aspect-ratio-16-9 .simtaly-zone-card-image {
    aspect-ratio: 16/9;
}

.simtaly-zones-grid.aspect-ratio-4-3 .simtaly-zone-card-image {
    aspect-ratio: 4/3;
}

.simtaly-zones-grid.aspect-ratio-1-1 .simtaly-zone-card-image {
    aspect-ratio: 1/1;
}

/* Placeholder Image Styling */
.simtaly-zone-card-image img.simtaly-placeholder {
    filter: sepia(10%) saturate(0.8) brightness(0.95);
    opacity: 0.9;
}

/* Card Info Section (1/3 of card) */
.simtaly-zone-card-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
    background: #ffffff;
}

.simtaly-zone-card-title {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.simtaly-zone-card:hover .simtaly-zone-card-title {
    color: #007cba;
}

.simtaly-zone-card-description {
    margin: 8px 0 12px 0;
    font-size: 14px;
    color: #6c757d;
    line-height: 1.5;
    flex-grow: 1;
}

.simtaly-zone-card-coverage {
    margin-top: auto;
    padding-top: 8px;
}

.simtaly-coverage-info {
    font-size: 13px;
    color: #007cba;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Card Link Overlay */
.simtaly-zone-card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    text-decoration: none;
}

.simtaly-zone-card-link:focus {
    outline: 3px solid #007cba;
    outline-offset: 3px;
}

/* Loading and Error States */
.simtaly-loading-state {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
    font-size: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px dashed #dee2e6;
}

.simtaly-error {
    background: #fff5f5;
    color: #e53e3e;
    padding: 20px;
    border: 1px solid #fed7d7;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
}

.simtaly-no-zones {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
    font-size: 16px;
    font-style: italic;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px dashed #dee2e6;
    grid-column: 1 / -1;
}

/* Responsive Design - Auto-adaptive grid handles column count automatically */

/* Tablet: Flexible 2-4 card layout with centered alignment (Elementor tablet breakpoint) */
@media (max-width: 1024px) {
    .simtaly-location-zones-grid,
    .simtaly-zones-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 240px)) !important;
        justify-content: center;
    }
}

/* Mobile Portrait: Always 2 cards side-by-side with centered alignment (Elementor mobile breakpoint) */
@media (max-width: 767px) {
    .simtaly-location-zones-grid,
    .simtaly-zones-grid {
        grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)) !important;
        justify-content: center;
        gap: 15px;
    }
}

/* Small Mobile: Smart 1-2 card layout optimized for smallest devices */
@media (max-width: 480px) {
    .simtaly-location-zones-grid,
    .simtaly-zones-grid {
        grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)) !important;
        justify-content: center;
        gap: 12px;
    }
}

/* Keep product grid responsive rules */
@media (max-width: 768px) {
    .simtaly-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .simtaly-products-grid {
        grid-template-columns: 1fr;
    }

    .simtaly-zone-header {
        flex-direction: column;
        text-align: center;
    }

    .simtaly-zone-image {
        align-self: center;
    }

    /* Currency Switcher Mobile Styles */
    .simtaly-currency-switcher {
        display: block;
        width: 100%;
    }

    .simtaly-currency-select-wrapper {
        width: 100%;
    }

    .simtaly-currency-dropdown {
        min-width: 80px;
        font-size: 14px;
    }

    .simtaly-currency-buttons {
        flex-wrap: wrap;
        gap: 6px;
        justify-content: center;
    }

    .simtaly-currency-btn {
        font-size: 13px;
        padding: 8px 12px;
        min-width: 48px;
        flex: 0 0 auto;
    }

    /* Custom Dropdown Mobile Styles */
    .simtaly-currency-custom-dropdown,
    .simtaly-language-custom-dropdown {
        width: 100%;
    }

    .simtaly-currency-trigger,
    .simtaly-language-trigger {
        width: 100%;
        justify-content: space-between;
        padding: 12px 16px !important;
        min-height: 44px; /* iOS touch target minimum */
    }

    .simtaly-currency-menu,
    .simtaly-language-menu {
        width: 100%;
        left: 0;
        right: 0;
        max-height: 60vh;
        overflow-y: auto;
    }

    .simtaly-currency-item,
    .simtaly-language-item {
        padding: 12px 16px !important;
        min-height: 44px; /* iOS touch target minimum */
    }

    /* Grid Widget Mobile Styles */
    .simtaly-zones-toggle {
        margin-bottom: 20px;
    }

    .simtaly-toggle-btn {
        padding: 10px 18px;
        font-size: 13px;
        margin: 0 2px 5px 2px;
    }

    .simtaly-zones-grid {
        gap: 15px;
    }

    .simtaly-zone-card-image {
        min-height: 180px;
    }

    .simtaly-zone-card-info {
        padding: 15px;
    }

    .simtaly-zone-card-title {
        font-size: 16px;
    }

    .simtaly-zone-card-description {
        font-size: 13px;
        display: none; /* Hide description on mobile for cleaner look */
    }

    .simtaly-coverage-info {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    /* Small Mobile Currency/Language Switchers */
    .simtaly-currency-trigger,
    .simtaly-language-trigger {
        font-size: 13px;
        padding: 10px 14px !important;
    }

    .simtaly-currency-trigger .simtaly-currency-symbol,
    .simtaly-currency-item .simtaly-currency-symbol {
        font-size: 10px;
        min-width: 28px;
    }

    .simtaly-currency-trigger .simtaly-currency-code,
    .simtaly-currency-item .simtaly-currency-code {
        font-size: 13px;
    }

    .simtaly-language-trigger .simtaly-language-flag,
    .simtaly-language-item .simtaly-language-flag {
        width: 16px;
        height: 12px;
    }

    .simtaly-currency-item,
    .simtaly-language-item {
        padding: 10px 14px !important;
        font-size: 13px;
    }

    .simtaly-zones-toggle {
        margin-bottom: 15px;
    }

    .simtaly-toggle-btn {
        padding: 8px 16px;
        font-size: 12px;
        margin: 0 1px 3px 1px;
        display: block;
        margin-bottom: 5px;
    }

    .simtaly-zones-grid {
        gap: 12px;
    }

    .simtaly-zone-card-image {
        min-height: 160px;
    }

    .simtaly-zone-card-info {
        padding: 12px;
    }

    .simtaly-zone-card-title {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .simtaly-zone-card-coverage {
        padding-top: 5px;
    }
}

/* Very small screens - optimize image display */
@media (max-width: 375px) {
    /* Force more compact aspect ratio on very small screens */
    .simtaly-zone-card-image,
    .simtaly-zone-card.aspect-ratio-1-1 .simtaly-zone-card-image,
    .simtaly-zone-card.aspect-ratio-4-3 .simtaly-zone-card-image {
        aspect-ratio: 16/9 !important;
        min-height: 150px !important; /* Reduce from 160px */
    }

    .simtaly-zone-card {
        min-height: 240px; /* Reduce overall card height */
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .simtaly-zone-card {
        border-width: 2px;
        border-color: #000;
    }

    .simtaly-zone-card:hover {
        border-color: #007cba;
    }

    .simtaly-toggle-btn {
        border-width: 2px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .simtaly-zone-card,
    .simtaly-zone-card-image img,
    .simtaly-toggle-btn {
        transition: none;
    }

    .simtaly-zone-card:hover {
        transform: none;
    }

    .simtaly-zone-card:hover .simtaly-zone-card-image img {
        transform: none;
    }
}

/* Horizontal Zones Widget */
.simtaly-horizontal-zones-widget {
    width: 100%;
    position: relative;
}

.simtaly-horizontal-zones-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0;
}

/* Horizontal Scrollable Container */
.simtaly-horizontal-zones-container {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    padding: 5px 0; /* Small padding for shadow visibility */
}

.simtaly-horizontal-zones-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Scroll Snap */
.simtaly-horizontal-zones-container.scroll-snap-enabled {
    scroll-snap-type: x mandatory;
}

.simtaly-horizontal-zones-container.scroll-snap-enabled .simtaly-horizontal-zone-card {
    scroll-snap-align: start;
}

/* Navigation Arrows */
.simtaly-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    color: #007cba;
    font-size: 18px;
    width: 40px;
    height: 40px;
}

.simtaly-nav-arrow:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-50%) scale(1.1);
    border-color: #007cba;
}

.simtaly-nav-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.simtaly-nav-arrow:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    color: #999;
}

.simtaly-nav-prev {
    left: 10px;
}

.simtaly-nav-next {
    right: 10px;
}

.simtaly-nav-arrow span {
    font-size: inherit;
    line-height: 1;
    user-select: none;
}

/* Horizontal Zone Cards */
.simtaly-horizontal-zone-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    flex-shrink: 0; /* Prevent shrinking in flex container */
    height: fit-content;
}

.simtaly-horizontal-zone-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: #007cba;
}

/* Square Image Section (1:1 aspect ratio) */
.simtaly-horizontal-zone-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1; /* Perfect square */
    background: #f8f9fa;
}

.simtaly-horizontal-zone-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.simtaly-horizontal-zone-card:hover .simtaly-horizontal-zone-card-image img {
    transform: scale(1.05);
}

/* Placeholder Image Styling */
.simtaly-horizontal-zone-card-image img.simtaly-placeholder {
    filter: sepia(10%) saturate(0.8) brightness(0.95);
    opacity: 0.9;
}

/* Compact Info Section */
.simtaly-horizontal-zone-card-info {
    padding: 12px;
    flex: 0 0 auto; /* Don't grow, fixed height */
    text-align: center;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
}

.simtaly-horizontal-zone-card-title {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.simtaly-horizontal-zone-card:hover .simtaly-horizontal-zone-card-title {
    color: #007cba;
}

.simtaly-horizontal-zone-card-description {
    margin: 4px 0;
    font-size: 11px;
    color: #6c757d;
    line-height: 1.3;
    display: none; /* Hidden by default for space */
}

.simtaly-horizontal-zone-card-coverage {
    margin-top: 4px;
}

.simtaly-coverage-info {
    font-size: 10px;
    color: #007cba;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Card Link Overlay */
.simtaly-horizontal-zone-card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    text-decoration: none;
}

.simtaly-horizontal-zone-card-link:focus {
    outline: 3px solid #007cba;
    outline-offset: 3px;
}

/* Placeholder Zone Indicator */
.simtaly-placeholder-indicator {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(255, 193, 7, 0.9);
    color: #856404;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 600;
    z-index: 1;
}

/* Admin Notice */
.simtaly-admin-notice {
    margin-top: 10px;
    padding: 10px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    font-size: 13px;
    color: #856404;
}

/* Responsive Design for Horizontal Widget */
@media (max-width: 768px) {
    .simtaly-nav-arrow {
        display: none; /* Hide arrows on mobile, use touch scrolling */
    }

    .simtaly-horizontal-zones-wrapper {
        padding: 0 10px;
    }

    .simtaly-horizontal-zone-card-info {
        padding: 10px;
        min-height: 55px;
    }

    .simtaly-horizontal-zone-card-title {
        font-size: 13px;
    }

    .simtaly-coverage-info {
        font-size: 9px;
    }
}

@media (min-width: 768px) {
    .simtaly-horizontal-zone-card-info {
        padding: 15px;
        min-height: 70px;
    }

    .simtaly-horizontal-zone-card-title {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .simtaly-horizontal-zone-card-description {
        display: block; /* Show description on larger screens */
        font-size: 12px;
    }

    .simtaly-coverage-info {
        font-size: 11px;
    }
}

@media (min-width: 1024px) {
    .simtaly-horizontal-zone-card-title {
        font-size: 16px;
    }

    .simtaly-horizontal-zone-card-description {
        font-size: 13px;
    }

    .simtaly-nav-arrow {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .simtaly-horizontal-zones-wrapper {
        padding: 0 5px;
    }

    .simtaly-horizontal-zone-card-info {
        padding: 8px;
        min-height: 50px;
    }

    .simtaly-horizontal-zone-card-title {
        font-size: 12px;
        margin-bottom: 2px;
    }
}

/* Focus styles for accessibility */
.simtaly-horizontal-zones-container:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

.simtaly-nav-arrow:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

/* High contrast mode support for horizontal widget */
@media (prefers-contrast: high) {
    .simtaly-horizontal-zone-card {
        border-width: 2px;
        border-color: #000;
    }

    .simtaly-horizontal-zone-card:hover {
        border-color: #007cba;
    }

    .simtaly-nav-arrow {
        border-width: 2px;
        border-color: #000;
    }
}

/* Reduced motion support for horizontal widget */
@media (prefers-reduced-motion: reduce) {
    .simtaly-horizontal-zones-container {
        scroll-behavior: auto;
    }

    .simtaly-horizontal-zone-card,
    .simtaly-horizontal-zone-card-image img,
    .simtaly-nav-arrow {
        transition: none;
    }

    .simtaly-horizontal-zone-card:hover {
        transform: none;
    }

    .simtaly-horizontal-zone-card:hover .simtaly-horizontal-zone-card-image img {
        transform: none;
    }

    .simtaly-nav-arrow:hover {
        transform: translateY(-50%);
    }
}

/* Horizontal Zones Footer Link */
.simtaly-horizontal-zones-footer-link {
    text-align: right;
    margin-top: 15px;
    padding-right: 5px;
}

.simtaly-horizontal-zones-footer-link a {
    color: #204D85;
    text-decoration: none !important;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.simtaly-horizontal-zones-footer-link a:hover {
    color: #F18200;
    text-decoration: none !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .simtaly-horizontal-zones-footer-link {
        text-align: center;
        margin-top: 12px;
    }
}

/* Final Cards */
/* Empty image placeholder for final cards */
.simtaly-final-card .simtaly-zone-card-image:empty {
    background: #f8fafc;
}

/* Live Search Widget Styles */
.simtaly-live-search-widget {
    width: 100%;
    position: relative;
}

.simtaly-search-container {
    position: relative;
    width: 100%;
}

.simtaly-search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.simtaly-search-input {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 16px;
    background: #ffffff;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
    padding-right: 50px; /* Space for clear/spinner */
}

.simtaly-search-input:focus {
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.simtaly-search-input::placeholder {
    color: #999;
    opacity: 1;
}

.simtaly-search-clear,
.simtaly-search-spinner {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s ease;
    z-index: 2;
}

.simtaly-search-clear:hover {
    color: #666;
}

.simtaly-search-spinner-icon {
    animation: simtaly-spin 1s linear infinite;
}

@keyframes simtaly-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Search Results */
.simtaly-search-results {
    position: absolute;
    top: 100%;
    width: 100%;
    z-index: 1000;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-top: 5px;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.simtaly-search-results::-webkit-scrollbar {
    width: 6px;
}

.simtaly-search-results::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.simtaly-search-results::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.simtaly-search-results::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Result Items */
.simtaly-search-result-separator {
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    background-color: #f5f5f5;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.simtaly-search-result-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
    position: relative;
}

.simtaly-search-result-item:last-child {
    border-bottom: none;
}

.simtaly-search-result-item:hover,
.simtaly-search-result-item.simtaly-search-result-active {
    background-color: #f8f9fa;
    color: #ffa600 !important;
}

.simtaly-search-result-item:hover::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #007cba;
}

/* Country Flags */
.simtaly-search-result-flag {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 12px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
}

.simtaly-search-result-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.simtaly-search-result-flag-placeholder {
    font-size: 12px;
    color: #666;
}

/* Result Text */
.simtaly-search-result-name {
    font-size: 14px;
    font-weight: 500;
    color: inherit;
    line-height: 1.4;
    flex: 1;
}

/* No Results / Error States */
.simtaly-search-no-results,
.simtaly-search-error {
    padding: 16px;
    text-align: center;
    color: #666;
    font-style: italic;
    font-size: 14px;
}

.simtaly-search-error {
    color: #dc3545;
    background-color: #fff5f5;
    border-radius: 4px;
    margin: 8px;
}

/* Example Results Header */
.simtaly-search-examples-header {
    padding: 12px 16px 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

/* Loading State */
.simtaly-search-loading-state {
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

/* Accessibility */
.simtaly-search-input:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

.simtaly-search-result-item:focus {
    outline: 2px solid #007cba;
    outline-offset: -2px;
}

/* Live Search Mobile Responsive */
@media (max-width: 768px) {
    .simtaly-search-input {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px 16px;
        padding-right: 45px;
    }

    .simtaly-search-clear,
    .simtaly-search-spinner {
        right: 12px;
        width: 18px;
        height: 18px;
    }

    .simtaly-search-results {
        max-height: 250px;
    }

    .simtaly-search-result-item {
        padding: 14px 12px;
    }

    .simtaly-search-result-flag {
        width: 20px;
        height: 20px;
        margin-right: 10px;
    }
}

/* Zone Operators Widget */
.simtaly-zone-operators {
    margin: 20px 0;
}

/* Collapsible Sections */
.simtaly-operators-section,
.simtaly-countries-section {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}

/* Summary (Clickable Headers) */
.simtaly-operators-heading,
.simtaly-countries-heading {
    margin: 0;
    padding: 12px 16px;
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
    background: #f8f9fa;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    transition: background-color 0.2s ease;
}

.simtaly-operators-heading:hover,
.simtaly-countries-heading:hover {
    background: #e9ecef;
}

/* Remove default disclosure triangle and add custom one */
.simtaly-operators-section summary,
.simtaly-countries-section summary {
    list-style: none;
}

.simtaly-operators-section summary::-webkit-details-marker,
.simtaly-countries-section summary::-webkit-details-marker {
    display: none;
}

/* Custom disclosure triangle */
.simtaly-operators-heading::before,
.simtaly-countries-heading::before {
    content: "▶";
    margin-right: 8px;
    transition: transform 0.2s ease;
    font-size: 0.8em;
    color: #666;
}

.simtaly-operators-section[open] .simtaly-operators-heading::before,
.simtaly-countries-section[open] .simtaly-countries-heading::before {
    transform: rotate(90deg);
}

/* Content Area */
.simtaly-operators-content,
.simtaly-countries-content {
    padding: 16px;
    background: #ffffff;
    border-top: 1px solid #e0e0e0;
}

.simtaly-operators-content p,
.simtaly-countries-content p {
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #555;
}

/* Error and No Data States */
.simtaly-zone-operators .simtaly-error,
.simtaly-zone-operators .simtaly-no-data {
    padding: 15px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    color: #6c757d;
    text-align: center;
}

/* ========================================
   Boost Widgets Styles
   ======================================== */

/* Boost Packages Widget */
.simtaly-boost-packages {
    display: grid;
    gap: 20px;
}

.simtaly-boost-packages.layout-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.simtaly-boost-packages.layout-list {
    grid-template-columns: 1fr;
}

/* Responsive columns for grid layout */
.simtaly-boost-packages.layout-grid.columns-1 {
    grid-template-columns: 1fr;
}

.simtaly-boost-packages.layout-grid.columns-2 {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.simtaly-boost-packages.layout-grid.columns-3 {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.simtaly-boost-packages.layout-grid.columns-4 {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

/* Boost Card */
.simtaly-boost-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    transition: box-shadow 0.3s ease;
}

.simtaly-boost-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.simtaly-boost-card-content {
    flex: 1;
    margin-bottom: 20px;
}

.simtaly-boost-product-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c3e50;
}

.simtaly-boost-product-description {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.simtaly-boost-product-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.simtaly-boost-product-validity {
    font-size: 0.9rem;
    color: #777;
    font-style: italic;
}

/* Boost Error States */
.simtaly-boost-error {
    padding: 20px;
    background: #fee;
    border: 1px solid #fcc;
    border-radius: 6px;
    color: #c33;
    text-align: center;
}

.simtaly-boost-no-products {
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    color: #6c757d;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .simtaly-boost-packages.layout-grid {
        grid-template-columns: 1fr;
    }

    .simtaly-boost-product-name {
        font-size: 1.1rem;
    }

    .simtaly-boost-product-price {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .simtaly-boost-card {
        padding: 15px;
    }

    .simtaly-boost-card-content {
        margin-bottom: 15px;
    }
}

/* ========================================
   Subscriber Info Widget Styles
   ======================================== */

/* Main Container */
.simtaly-subscriber-info {
    margin-bottom: 30px;
}

.simtaly-subscriber-info-title {
    margin-bottom: 20px;
    font-size: 2rem;
    color: #2c3e50;
}

/* Modern Subscriber Card */
.simtaly-subscriber-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

/* Hero Header Section - Clean Design */
.simtaly-subscriber-header {
    background: #f8f9fa;
    padding: 30px;
    color: #2c3e50;
    position: relative;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    border-left: 4px solid #F18200;
}

/* Zone Flag/Icon - Prominent Display */
.simtaly-zone-flag {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    border: 3px solid #e9ecef;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.simtaly-zone-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.simtaly-subscriber-header-content {
    flex: 1;
}

.simtaly-package-name {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.2;
    color: #2c3e50;
}

.simtaly-zone-name {
    font-size: 1rem;
    font-weight: 600;
    background: #ffffff;
    color: #6c757d;
    padding: 4px 12px;
    border-radius: 12px;
    display: inline-block;
    border: 1px solid #dee2e6;
}

.simtaly-status-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.simtaly-status-badge.status-active {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.simtaly-status-badge.status-inactive {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Section Header (reusable) */
.simtaly-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.simtaly-section-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
}

/* Purchasable Products Teaser */
.simtaly-purchasable-teaser {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 24px;
}

.simtaly-purchasable-teaser p {
    margin: 0;
    font-size: 0.95rem;
    color: #0369a1;
    line-height: 1.5;
}

/* Data Usage Section */
.simtaly-data-usage-section {
    padding: 30px;
    border-bottom: 1px solid #f0f0f0;
}

/* 2-Column Layout for Data Section (Desktop) */
.simtaly-data-section-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    align-items: start;
}

.simtaly-data-progress-column {
    display: flex;
    flex-direction: column;
}

.simtaly-data-stats-column {
    display: flex;
    flex-direction: column;
}

.simtaly-usage-percentage {
    font-size: 1.5rem;
    font-weight: 700;
    color: #F18200;
}

/* Refresh Date Display */
.simtaly-refresh-date {
    margin-top: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #F18200;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #2c3e50;
}

.simtaly-refresh-icon {
    font-size: 1.1rem;
    color: #F18200;
    flex-shrink: 0;
}

/* Dummy Refresh Date (when no real data available) */
.simtaly-refresh-date-dummy {
    opacity: 0.7;
    border-left-color: #9ca3af;
}

.simtaly-refresh-date-dummy .simtaly-refresh-icon {
    color: #9ca3af;
}

/* Progress Bar */
.simtaly-data-progress-wrapper {
    margin-bottom: 20px;
}

.simtaly-progress-bar {
    height: 32px;
    background: #f0f0f0;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.simtaly-progress-fill {
    height: 100%;
    border-radius: 16px;
    position: relative;
    transition: width 1s ease-out, background-color 0.3s ease;
    overflow: hidden;
}

/* Progress Bar Color States */
.simtaly-progress-bar.progress-low .simtaly-progress-fill {
    background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
}

.simtaly-progress-bar.progress-medium .simtaly-progress-fill {
    background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 100%);
}

.simtaly-progress-bar.progress-high .simtaly-progress-fill {
    background: linear-gradient(90deg, #F18200 0%, #FF9C27 100%);
}

.simtaly-progress-bar.progress-critical .simtaly-progress-fill {
    background: linear-gradient(90deg, #ef4444 0%, #f87171 100%);
}

/* Progress Bar Shine Effect */
.simtaly-progress-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Data Stats Grid */
.simtaly-data-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.simtaly-data-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.simtaly-stat-label {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.simtaly-stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: right;
}

/* Validity Section */
.simtaly-validity-section {
    padding: 30px;
}

.simtaly-days-badge {
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.simtaly-days-badge.badge-active {
    background: #d1fae5;
    color: #065f46;
}

.simtaly-days-badge.badge-expired {
    background: #fee2e2;
    color: #991b1b;
}

/* Dummy Days Badge (when no expiration data available) */
.simtaly-days-badge-dummy {
    opacity: 0.7;
    background: #e9ecef !important;
    color: #6c757d !important;
}

/* Validity Timeline */
.simtaly-validity-timeline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.simtaly-timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

/* Dummy Timeline Items (when no real date data available) */
.simtaly-timeline-item-dummy {
    opacity: 0.7;
    border-color: #d1d5db;
}

.simtaly-timeline-item-dummy .simtaly-timeline-icon {
    background: #f3f4f6;
    color: #9ca3af;
}

.simtaly-timeline-item-dummy .simtaly-timeline-date {
    color: #6c757d;
    font-style: italic;
}

.simtaly-timeline-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.simtaly-timeline-item.timeline-start .simtaly-timeline-icon {
    color: #10b981;
}

.simtaly-timeline-item.timeline-end .simtaly-timeline-icon {
    color: #F18200;
}

.simtaly-timeline-content {
    flex: 1;
}

.simtaly-timeline-label {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.simtaly-timeline-date {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
}

/* Breakdown Display for Volume Limit */
.simtaly-stat-value-breakdown {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    color: #9ca3af;
    margin-top: 4px;
    line-height: 1.2;
}

/* Dayboost Packages Section */
.simtaly-dayboost-section {
    padding: 30px;
    border-top: 1px solid #f0f0f0;
}

.simtaly-dayboost-packages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.simtaly-dayboost-package-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
    transition: all 0.3s ease;
}

.simtaly-dayboost-package-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-color: #dee2e6;
}

.simtaly-dayboost-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    gap: 8px;
}

.simtaly-dayboost-volume-badge {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
}

.simtaly-dayboost-dates {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.simtaly-dayboost-date-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.simtaly-dayboost-date-label {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.simtaly-dayboost-date-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
}

/* Package Info Table (legacy support - hidden by default) */
.simtaly-package-info {
    width: 100%;
    border-collapse: collapse;
    display: none; /* Hidden in favor of new design */
}

.simtaly-package-info tr {
    border-bottom: 1px solid #f0f0f0;
}

.simtaly-package-info tr:last-child {
    border-bottom: none;
}

.simtaly-package-info td {
    padding: 12px 10px;
    font-size: 1rem;
    vertical-align: top;
}

.simtaly-package-info td:first-child {
    font-weight: 600;
    color: #555;
    width: 40%;
    padding-right: 15px;
}

.simtaly-package-info td:last-child {
    color: #333;
    width: 60%;
}

/* Motivational Text */
.simtaly-subscriber-info-text {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.6;
    padding: 20px;
    background: #f8f9fa;
    border-left: 4px solid #007cba;
    border-radius: 4px;
    margin-top: 20px;
}

.simtaly-subscriber-info-text p {
    margin: 0;
}

/* No Package Message */
.simtaly-subscriber-info-no-package {
    padding: 30px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    color: #856404;
    text-align: center;
    font-size: 1.1rem;
}

.simtaly-subscriber-info-no-package p {
    margin: 0;
}

/* ========================================
   Expired Package Alert (inside card header)
   ======================================== */
.simtaly-expired-alert {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-bottom: 1px solid #fca5a5;
    align-items: center;
}

.simtaly-expired-alert-icon {
    flex-shrink: 0;
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
}

.simtaly-expired-alert-icon svg {
    width: 20px;
    height: 20px;
}

.simtaly-expired-alert-content {
    flex: 1;
}

.simtaly-expired-alert-content p {
    margin: 0;
    color: #991b1b;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.5;
}

/* ========================================
   Collapsed Package Card (Expired State)
   ======================================== */
.simtaly-package-collapsed {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

/* Hide the native summary marker completely */
.simtaly-package-collapsed > summary,
.simtaly-collapsed-summary {
    list-style: none;
    list-style-type: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    display: block;
}

/* Hide marker in all browsers */
.simtaly-package-collapsed > summary::marker,
.simtaly-collapsed-summary::marker {
    display: none;
    content: '';
    font-size: 0;
}

.simtaly-package-collapsed > summary::-webkit-details-marker,
.simtaly-collapsed-summary::-webkit-details-marker {
    display: none;
}

/* Firefox specific fix */
.simtaly-package-collapsed > summary::-moz-list-bullet {
    list-style-type: none;
}

.simtaly-collapsed-summary .simtaly-subscriber-header {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.simtaly-collapsed-summary .simtaly-subscriber-header:hover {
    background-color: #f0f1f3;
}

.simtaly-package-name-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.simtaly-package-name-row .simtaly-package-name {
    line-height: 1.3;
}

.simtaly-package-name-row .simtaly-status-badge {
    font-size: 0.65rem;
    padding: 3px 8px;
    margin-top: 4px;
}

.simtaly-expand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
    padding: 6px 12px;
    background: #3b82f6;
    border-radius: 20px;
    transition: transform 0.3s ease, background-color 0.2s ease;
    color: #ffffff;
    flex-shrink: 0;
}

.simtaly-expand-icon:hover {
    background: #2563eb;
}

.simtaly-expand-icon svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
}

.simtaly-package-collapsed[open] .simtaly-expand-icon {
    transform: rotate(180deg);
}

.simtaly-package-details {
    border-top: 1px solid #e0e0e0;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Status badge for expired */
.simtaly-status-badge.status-expired {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ========================================
   Package History Section
   ======================================== */
.simtaly-package-history-section {
    margin-top: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #fafafa;
}

.simtaly-package-history-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    cursor: pointer;
    background: #f3f4f6;
    font-weight: 600;
    color: #4b5563;
    transition: background-color 0.2s ease;
    list-style: none;
}

.simtaly-package-history-summary::-webkit-details-marker {
    display: none;
}

.simtaly-package-history-summary:hover {
    background: #e5e7eb;
}

.simtaly-history-icon {
    display: flex;
    align-items: center;
    color: #6b7280;
}

.simtaly-chevron-icon {
    display: flex;
    align-items: center;
    margin-left: auto;
    transition: transform 0.3s ease;
    color: #9ca3af;
}

.simtaly-package-history-section[open] .simtaly-chevron-icon {
    transform: rotate(180deg);
}

.simtaly-package-history-list {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* History Package Item */
.simtaly-history-package-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.simtaly-history-item-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    list-style: none;
    transition: background-color 0.2s ease;
}

.simtaly-history-item-summary::-webkit-details-marker {
    display: none;
}

.simtaly-history-item-summary:hover {
    background: #f9fafb;
}

.simtaly-history-package-name {
    font-weight: 600;
    color: #374151;
    flex: 1;
}

.simtaly-history-package-zone {
    color: #6b7280;
    font-size: 0.875rem;
}

.simtaly-history-package-status {
    padding: 4px 10px;
    background: #fee2e2;
    color: #991b1b;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.simtaly-history-package-item .simtaly-expand-icon {
    color: #9ca3af;
    margin-left: 0;
}

.simtaly-history-package-item[open] .simtaly-expand-icon {
    transform: rotate(180deg);
}

.simtaly-history-package-details {
    padding: 12px 16px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    animation: slideDown 0.2s ease;
}

.simtaly-history-stat {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.875rem;
    color: #4b5563;
}

.simtaly-history-stat:not(:last-child) {
    border-bottom: 1px solid #e5e7eb;
}

/* ========================================
   Pending Activation Message
   ======================================== */
.simtaly-pending-activation-message {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    border: 1px solid #7dd3fc;
    border-radius: 12px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.simtaly-pending-message-icon {
    flex-shrink: 0;
    color: #0284c7;
}

.simtaly-pending-message-icon svg {
    width: 28px;
    height: 28px;
}

.simtaly-pending-message-content p {
    margin: 0;
    color: #0c4a6e;
    font-size: 1rem;
    line-height: 1.6;
}

/* Error Messages */
.simtaly-subscriber-error {
    padding: 20px;
    background: #fee;
    border: 1px solid #fcc;
    border-radius: 6px;
    color: #c33;
    text-align: center;
}

.simtaly-subscriber-error p {
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .simtaly-subscriber-info-title {
        font-size: 1.6rem;
    }

    .simtaly-subscriber-header {
        padding: 24px;
        gap: 16px;
    }

    .simtaly-zone-flag {
        width: 100px;
        height: 100px;
    }

    .simtaly-package-name {
        font-size: 1.5rem;
    }

    .simtaly-zone-name {
        font-size: 0.95rem;
    }

    .simtaly-status-badge {
        flex-shrink: 0;
    }

    .simtaly-data-usage-section,
    .simtaly-validity-section {
        padding: 24px;
    }

    /* Stack 2-column grid on mobile */
    .simtaly-data-section-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .simtaly-section-header h3 {
        font-size: 1.1rem;
    }

    .simtaly-usage-percentage {
        font-size: 1.25rem;
    }

    .simtaly-data-stats {
        gap: 12px;
    }

    .simtaly-stat-label {
        font-size: 0.75rem;
    }

    .simtaly-stat-value {
        font-size: 1.1rem;
    }

    .simtaly-validity-timeline {
        gap: 16px;
    }

    .simtaly-timeline-item {
        padding: 14px;
    }

    .simtaly-timeline-icon {
        width: 36px;
        height: 36px;
    }

    .simtaly-timeline-icon svg {
        width: 14px;
        height: 14px;
    }

    .simtaly-timeline-label {
        font-size: 0.75rem;
    }

    .simtaly-timeline-date {
        font-size: 0.95rem;
    }

    .simtaly-subscriber-info-text {
        font-size: 1rem;
        padding: 15px;
    }

    .simtaly-dayboost-section {
        padding: 24px;
    }

    .simtaly-dayboost-packages-grid {
        gap: 12px;
    }

    .simtaly-dayboost-volume-badge {
        font-size: 1.1rem;
    }

    /* Expired state responsive - 768px */
    .simtaly-expired-alert {
        padding: 14px 16px;
        gap: 10px;
    }

    .simtaly-expired-alert-content p {
        font-size: 0.85rem;
    }

    .simtaly-package-collapsed .simtaly-subscriber-header {
        position: relative;
        padding-right: 48px;
    }

    .simtaly-package-collapsed .simtaly-expand-icon {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .simtaly-package-collapsed[open] .simtaly-expand-icon {
        transform: translateY(-50%) rotate(180deg);
    }

    .simtaly-package-history-section {
        margin-top: 20px;
    }

    .simtaly-package-history-summary {
        padding: 14px 16px;
    }
}

@media (max-width: 480px) {
    .simtaly-subscriber-info-title {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    .simtaly-subscriber-header {
        padding: 20px;
        flex-wrap: wrap;
    }

    .simtaly-zone-flag {
        width: 80px;
        height: 80px;
    }

    .simtaly-package-name {
        font-size: 1.3rem;
    }

    .simtaly-zone-name {
        font-size: 0.85rem;
        padding: 3px 10px;
    }

    .simtaly-data-usage-section,
    .simtaly-validity-section {
        padding: 20px;
    }

    .simtaly-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .simtaly-section-header h3 {
        font-size: 1rem;
    }

    .simtaly-usage-percentage {
        font-size: 1.1rem;
    }

    .simtaly-progress-bar {
        height: 28px;
    }

    .simtaly-data-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .simtaly-data-stat {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        padding: 10px;
    }

    .simtaly-stat-label {
        font-size: 0.8rem;
    }

    .simtaly-stat-value {
        font-size: 1rem;
    }

    .simtaly-validity-timeline {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .simtaly-timeline-item {
        padding: 12px;
    }

    .simtaly-timeline-icon {
        width: 32px;
        height: 32px;
    }

    .simtaly-timeline-icon svg {
        width: 12px;
        height: 12px;
    }

    .simtaly-days-badge {
        font-size: 0.75rem;
        padding: 4px 10px;
    }

    .simtaly-subscriber-info-text {
        font-size: 0.95rem;
        padding: 12px;
    }

    .simtaly-subscriber-info-no-package {
        padding: 20px 15px;
        font-size: 1rem;
    }

    /* Expired alert mobile - 480px */
    .simtaly-expired-alert {
        padding: 12px 14px;
        gap: 10px;
    }

    .simtaly-expired-alert-icon svg {
        width: 18px;
        height: 18px;
    }

    .simtaly-expired-alert-content p {
        font-size: 0.8rem;
    }

    /* Collapsed card mobile - 480px */
    .simtaly-package-collapsed .simtaly-subscriber-header {
        padding: 16px;
        padding-right: 44px;
    }

    .simtaly-package-collapsed .simtaly-expand-icon {
        right: 16px;
    }

    .simtaly-package-collapsed .simtaly-zone-flag {
        width: 70px;
        height: 70px;
    }

    .simtaly-package-collapsed .simtaly-package-name {
        font-size: 1.1rem;
    }

    .simtaly-package-details {
        padding: 0;
    }

    .simtaly-package-details .simtaly-data-usage-section,
    .simtaly-package-details .simtaly-validity-section {
        padding: 16px;
    }

    /* Package history mobile */
    .simtaly-package-history-summary {
        padding: 14px 16px;
        font-size: 0.9rem;
    }

    .simtaly-package-history-list {
        padding: 8px;
        gap: 6px;
    }

    .simtaly-history-item-summary {
        padding: 10px 12px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .simtaly-history-package-name {
        width: 100%;
    }

    .simtaly-history-package-zone {
        font-size: 0.8rem;
    }

    .simtaly-history-package-status {
        font-size: 0.7rem;
        padding: 3px 8px;
    }

    .simtaly-history-package-details {
        padding: 10px 12px;
    }

    .simtaly-history-stat {
        font-size: 0.8rem;
    }

    /* Pending activation message mobile */
    .simtaly-pending-activation-message {
        padding: 16px;
        gap: 12px;
    }

    .simtaly-pending-message-icon svg {
        width: 24px;
        height: 24px;
    }

    .simtaly-pending-message-content p {
        font-size: 0.9rem;
    }

    .simtaly-dayboost-section {
        padding: 20px;
    }

    .simtaly-dayboost-packages-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .simtaly-dayboost-package-card {
        padding: 14px;
    }

    .simtaly-dayboost-volume-badge {
        font-size: 1.1rem;
    }

    .simtaly-dayboost-date-label {
        font-size: 0.7rem;
    }

    .simtaly-dayboost-date-value {
        font-size: 0.85rem;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .simtaly-progress-fill {
        transition: none;
    }

    .simtaly-progress-shine {
        animation: none;
    }

    .simtaly-subscriber-card {
        transition: none;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .simtaly-subscriber-card {
        border-width: 2px;
        border-color: #000;
    }

    .simtaly-progress-bar {
        border: 2px solid #000;
    }

    .simtaly-timeline-item {
        border-width: 2px;
    }
}

/* ========================================
   Checkout Success Modal
   ======================================== */

/* Modal Overlay */
.simtaly-checkout-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.simtaly-checkout-modal-overlay.simtaly-modal-visible {
    opacity: 1;
}

/* Modal Container */
.simtaly-checkout-modal {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    padding: 40px 30px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: simtaly-modal-slide-in 0.3s ease-out;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes simtaly-modal-slide-in {
    from {
        transform: translateY(-30px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Close Button */
.simtaly-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: #9ca3af;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.simtaly-modal-close:hover {
    color: #4b5563;
    background: #f3f4f6;
}

.simtaly-modal-close:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

/* Success Icon */
.simtaly-modal-success-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    animation: simtaly-success-icon-bounce 0.6s ease-out;
}

@keyframes simtaly-success-icon-bounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Failure Icon (failed/canceled payment return) */
.simtaly-modal-failure-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    animation: simtaly-success-icon-bounce 0.6s ease-out;
}

/* Verifying Spinner (pending payment return) */
.simtaly-modal-verifying-spinner {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    border: 4px solid #e5e7eb;
    border-top-color: #007cba;
    border-radius: 50%;
    animation: simtaly-spinner 0.9s linear infinite;
}

.simtaly-modal-failure-body,
.simtaly-modal-verifying-body,
.simtaly-modal-verifying-fallback {
    text-align: center;
    color: #4b5563;
    margin: 0;
}

@keyframes simtaly-spinner {
    to { transform: rotate(360deg); }
}

/* Modal Title */
.simtaly-modal-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 24px 0;
    line-height: 1.2;
}

/* Modal Content */
.simtaly-modal-content {
    margin-bottom: 24px;
}

/* Product Info */
.simtaly-modal-product-info {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e9ecef;
}

.simtaly-modal-product-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

/* Zone Wrapper with Flag */
.simtaly-modal-zone-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.simtaly-modal-zone-flag {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: 2px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.simtaly-modal-zone-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.simtaly-modal-zone-name {
    font-size: 1rem;
    color: #6c757d;
    margin: 0;
    font-weight: 500;
}

/* Detail Items */
.simtaly-modal-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.simtaly-modal-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.simtaly-modal-detail-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

.simtaly-modal-detail-value {
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 600;
    text-align: right;
}

.simtaly-modal-detail-value-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.simtaly-modal-detail-subtitle {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 400;
    margin-top: 2px;
}

/* Multi-eSIM List Section */
.simtaly-modal-esim-list-section {
    margin-top: 20px;
    margin-bottom: 4px;
}

.simtaly-modal-esim-list-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
}

.simtaly-modal-esim-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
}

.simtaly-modal-esim-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.simtaly-modal-esim-number {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.simtaly-modal-esim-link {
    color: #0a538e;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.simtaly-modal-esim-link:hover {
    background: #e3f2fd;
    color: #064b7a;
}

/* Custom scrollbar for eSIM list */
.simtaly-modal-esim-list::-webkit-scrollbar {
    width: 6px;
}

.simtaly-modal-esim-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.simtaly-modal-esim-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.simtaly-modal-esim-list::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* Next Steps */
.simtaly-modal-next-steps {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 8px;
    padding: 16px;
    margin-top: 20px;
}

.simtaly-modal-next-steps p {
    margin: 0;
    font-size: 0.95rem;
    color: #1565c0;
    line-height: 1.5;
}

/* Dismiss Button */
.simtaly-modal-dismiss-btn {
    width: 100%;
    padding: 14px 24px;
    background: #F18200;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.simtaly-modal-dismiss-btn:hover {
    background: #FF9C27;
    box-shadow: 0 4px 12px rgba(241, 130, 0, 0.3);
    transform: translateY(-1px);
}

.simtaly-modal-dismiss-btn:active {
    transform: translateY(0);
}

.simtaly-modal-dismiss-btn:focus {
    outline: 2px solid #F18200;
    outline-offset: 2px;
}

/* Modal Buttons Container (Stacked Layout) */
.simtaly-modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

/* Primary Button (View My eSIM) */
.simtaly-modal-primary-btn {
    width: 100%;
    padding: 14px 24px;
    background: #F18200;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-align: center;
    display: inline-block;
}

.simtaly-modal-primary-btn:hover {
    background: #FF9C27;
    box-shadow: 0 4px 12px rgba(241, 130, 0, 0.3);
    transform: translateY(-1px);
    color: #ffffff;
    text-decoration: none;
}

.simtaly-modal-primary-btn:active {
    transform: translateY(0);
}

.simtaly-modal-primary-btn:focus {
    outline: 2px solid #F18200;
    outline-offset: 2px;
}

/* Secondary Button (Got it! when both buttons present) */
.simtaly-modal-secondary-btn {
    background: #ffffff;
    color: #F18200;
    border: 2px solid #F18200;
}

.simtaly-modal-secondary-btn:hover {
    background: #FFF5EB;
    border-color: #FF9C27;
    color: #FF9C27;
    box-shadow: 0 2px 8px rgba(241, 130, 0, 0.15);
}

.simtaly-modal-secondary-btn:focus {
    outline: 2px solid #F18200;
    outline-offset: 2px;
}

/* Prevent Body Scroll */
body.simtaly-modal-open {
    overflow: hidden;
}

/* ========================================
   Contact Form Modal (Mollie)
   ======================================== */

.simtaly-contact-form-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 20px 0;
}

/* Section heading above contact fields */
.simtaly-contact-form-section-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 4px 0;
}

.simtaly-contact-form-section-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0 0 16px 0;
    line-height: 1.5;
}

/* Product Summary */
.simtaly-contact-form-product {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 20px;
}

.simtaly-contact-form-product-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 6px;
}

.simtaly-contact-form-product-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: #6b7280;
}

.simtaly-contact-form-product-unit-price {
    font-weight: 600;
    color: #1f2937;
}

/* Quantity inside product card */
.simtaly-contact-form-product-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

.simtaly-contact-form-product-quantity .simtaly-contact-form-label {
    margin-bottom: 0;
    white-space: nowrap;
}

.simtaly-contact-form-product-quantity .simtaly-contact-form-input.simtaly-contact-form-select {
    width: 72px;
    padding: 8px 32px 8px 12px;
    font-size: 0.9375rem;
    line-height: 1.5;
}

/* Total Price */
.simtaly-contact-form-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    margin-bottom: 20px;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.simtaly-contact-form-total-label {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
}

.simtaly-contact-form-total-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}

/* Quantity Select */
.simtaly-contact-form-input.simtaly-contact-form-select {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-top: 0;
    padding-right: 36px;
    padding-bottom: 0;
    line-height: 1.5;
    cursor: pointer;
}

.simtaly-contact-form-group {
    margin-bottom: 20px;
    text-align: left;
}

.simtaly-contact-form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.simtaly-contact-form-input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1.5;
    color: #1f2937;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.simtaly-contact-form-input:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.15);
}

.simtaly-contact-form-input.simtaly-input-error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.simtaly-contact-form-error {
    display: none;
    font-size: 0.8125rem;
    color: #ef4444;
    margin-top: 4px;
}

.simtaly-contact-form-error.simtaly-error-visible {
    display: block;
}

.simtaly-contact-form-submit {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background: var(--ast-global-color-0, #F18200);
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    margin-top: 8px;
}

.simtaly-contact-form-submit:hover {
    background: var(--ast-global-color-1, #FF9C27);
    box-shadow: 0 4px 12px rgba(241, 130, 0, 0.3);
}

.simtaly-contact-form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}


/* Mobile Responsive */
@media (max-width: 768px) {
    .simtaly-contact-form-input {
        font-size: 16px; /* Prevents iOS zoom on focus */
    }

    .simtaly-checkout-modal {
        padding: 32px 24px 24px;
        max-height: 95vh;
    }

    .simtaly-modal-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .simtaly-modal-product-name {
        font-size: 1.1rem;
    }

    .simtaly-modal-zone-flag {
        width: 24px;
        height: 24px;
    }

    .simtaly-modal-zone-name {
        font-size: 0.95rem;
    }

    .simtaly-modal-detail-item {
        padding: 10px 14px;
    }

    .simtaly-modal-detail-label {
        font-size: 0.85rem;
    }

    .simtaly-modal-detail-value {
        font-size: 0.95rem;
    }

    .simtaly-modal-next-steps {
        padding: 14px;
    }

    .simtaly-modal-next-steps p {
        font-size: 0.9rem;
    }

    .simtaly-modal-dismiss-btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .simtaly-modal-esim-list-section {
        margin-top: 16px;
    }

    .simtaly-modal-esim-list-title {
        font-size: 0.9rem;
    }

    .simtaly-modal-esim-item {
        padding: 10px 14px;
    }

    .simtaly-modal-esim-number {
        font-size: 0.9rem;
    }

    .simtaly-modal-esim-link {
        font-size: 0.85rem;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .simtaly-checkout-modal-overlay {
        padding: 10px;
    }

    .simtaly-checkout-modal {
        padding: 28px 20px 20px;
        border-radius: 12px;
    }

    .simtaly-modal-success-icon svg {
        width: 56px;
        height: 56px;
    }

    .simtaly-modal-title {
        font-size: 1.3rem;
        margin-bottom: 16px;
    }

    .simtaly-modal-product-info {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .simtaly-modal-product-name {
        font-size: 1rem;
    }

    .simtaly-modal-zone-flag {
        width: 22px;
        height: 22px;
    }

    .simtaly-modal-zone-name {
        font-size: 0.9rem;
    }

    .simtaly-modal-details {
        gap: 10px;
        margin-bottom: 20px;
    }

    .simtaly-modal-detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 10px 12px;
    }

    .simtaly-modal-detail-value {
        text-align: left;
    }

    .simtaly-modal-detail-value-group {
        align-items: flex-start;
    }

    .simtaly-modal-next-steps {
        padding: 12px;
        margin-top: 16px;
    }

    .simtaly-modal-next-steps p {
        font-size: 0.85rem;
    }

    .simtaly-modal-esim-list {
        max-height: 150px;
    }

    .simtaly-modal-esim-item {
        padding: 8px 12px;
    }

    .simtaly-modal-esim-number {
        font-size: 0.85rem;
    }

    .simtaly-modal-esim-link {
        font-size: 0.8rem;
        padding: 4px 8px;
    }
}

/* Accessibility - High Contrast Mode */
@media (prefers-contrast: high) {
    .simtaly-checkout-modal {
        border: 2px solid #000;
    }

    .simtaly-modal-detail-item {
        border-width: 2px;
    }

    .simtaly-modal-next-steps {
        border-width: 2px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .simtaly-checkout-modal-overlay {
        transition: none;
    }

    .simtaly-checkout-modal {
        animation: none;
    }

    .simtaly-modal-success-icon {
        animation: none;
    }

    .simtaly-modal-dismiss-btn:hover {
        transform: none;
    }
}

/* Fix for TranslatePress mangling SVG viewBox attribute (Issue #30) */
/* TranslatePress lowercases viewBox to viewbox, breaking SVG rendering */
/* Force correct sizing for Elementor accordion icons - use em for relative sizing */
.e-n-accordion-item-title-icon svg.e-font-icon-svg {
    max-width: 1em !important;
    max-height: 1em !important;
    width: 1em !important;
    height: 1em !important;
    display: block !important;
}

/* Preserve Elementor's icon toggle behavior */
.e-n-accordion-item-title-icon .e-opened,
.e-n-accordion-item-title-icon .e-closed {
    display: inline-block;
    line-height: 1;
}

/* ================================================================
   Activation Screen Styles (Issue #33)
   ================================================================ */

/* Activation Container - Clean layout matching site style */
.simtaly-activation-container {
    max-width: 650px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

.simtaly-activation-card {
    background: transparent;
    border-radius: 0;
    padding: 20px 0;
    box-shadow: none;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
}

@media (max-width: 480px) {
    .simtaly-activation-container {
        padding: 0;
    }

    .simtaly-activation-card {
        padding: 10px 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .simtaly-activation-title {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .simtaly-activation-greeting {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .simtaly-package-summary {
        font-size: 14px;
    }

    .simtaly-activation-instructions {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .simtaly-activation-instructions h3 {
        font-size: 18px;
    }
}

/* Title */
.simtaly-activation-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

/* Greeting */
.simtaly-activation-greeting {
    font-size: 18px;
    color: #4a5568;
    margin-bottom: 15px;
}

/* Instructions */
.simtaly-activation-instructions {
    font-size: 16px;
    color: #718096;
    margin-bottom: 30px;
    line-height: 1.6;
}

.simtaly-activation-instructions p {
    margin: 0;
}

/* Data Roaming Warning */
.simtaly-roaming-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 24px 0;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
    box-sizing: border-box;
    max-width: 100%;
    overflow: hidden;
}

.simtaly-roaming-warning-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #f59e0b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.simtaly-roaming-warning-icon svg {
    width: 28px;
    height: 28px;
}

.simtaly-roaming-warning-content {
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.simtaly-roaming-warning-title {
    font-size: 1rem;
    font-weight: 700;
    color: #92400e;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.simtaly-roaming-warning-text {
    font-size: 0.95rem;
    color: #78350f;
    margin: 0;
    line-height: 1.5;
}

.simtaly-roaming-help-link {
    color: #d97706;
    font-weight: 600;
    text-decoration: underline;
}

.simtaly-roaming-help-link:hover {
    color: #92400e;
}

/* Mobile responsive for roaming warning */
@media (max-width: 480px) {
    .simtaly-roaming-warning {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 16px;
        gap: 12px;
    }

    .simtaly-roaming-warning-icon {
        width: 40px;
        height: 40px;
    }

    .simtaly-roaming-warning-icon svg {
        width: 22px;
        height: 22px;
    }

    .simtaly-roaming-warning-title {
        font-size: 0.9rem;
    }

    .simtaly-roaming-warning-text {
        font-size: 0.85rem;
    }
}

/* QR Code Section */
.simtaly-qr-code-section {
    margin: 40px auto;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    max-width: 400px;
}

.simtaly-qr-code {
    margin: 0 auto 15px;
    max-width: 300px;
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.simtaly-qr-code img {
    width: 100%;
    height: auto;
    display: block;
    border: 3px solid #e2e8f0;
    border-radius: 8px;
}

.simtaly-qr-hint {
    font-size: 14px;
    color: #718096;
    margin: 0;
}

/* Activation Code Section */
.simtaly-activation-code-section {
    margin: 35px 0;
}

.simtaly-code-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.simtaly-code-input-group {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.simtaly-activation-code-input {
    flex: 1;
    padding: 14px 16px;
    font-size: 16px;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 600;
    color: #2d3748;
    border: 2px solid #cbd5e0;
    border-radius: 8px;
    text-align: center;
    background: #ffffff;
    transition: border-color 0.2s;
}

.simtaly-activation-code-input:focus {
    outline: none;
    border-color: #0a538e;
    box-shadow: 0 0 0 3px rgba(10, 83, 142, 0.1);
}

/* Copy Button */
.simtaly-copy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: #0a538e;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.simtaly-copy-btn:hover {
    background: #083f6d;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(10, 83, 142, 0.3);
}

.simtaly-copy-btn:active {
    transform: translateY(0);
}

.simtaly-copy-btn.simtaly-copied {
    background: #28a745;
    transform: scale(1.05);
}

.simtaly-copy-btn.simtaly-copy-error {
    background: #dc3545;
}

.simtaly-copy-icon svg {
    display: block;
    width: 18px;
    height: 18px;
}

/* Quick Setup Section (iOS & Android) */
.simtaly-quick-setup-section {
    margin: 35px 0;
}

.simtaly-activation-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.simtaly-android-icon svg {
    display: block;
    width: 20px;
    height: 20px;
}

.simtaly-activation-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.simtaly-activation-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.simtaly-activation-btn:active {
    transform: translateY(0);
}

/* Apple/iOS button - #1D1D1F */
.simtaly-ios-btn {
    background: #1D1D1F;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(29, 29, 31, 0.15);
}

.simtaly-ios-btn:hover {
    background: #3a3a3c;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(29, 29, 31, 0.25);
}

/* Android button - #3DDC84 */
.simtaly-android-btn {
    background: #3DDC84;
    color: #000000;
    box-shadow: 0 4px 12px rgba(61, 220, 132, 0.15);
}

.simtaly-android-btn:hover {
    background: #32cb73;
    color: #000000;
    box-shadow: 0 6px 16px rgba(61, 220, 132, 0.25);
}

.simtaly-apple-icon svg {
    display: block;
    width: 20px;
    height: 20px;
}

.simtaly-ios-hint {
    margin-top: 10px;
    font-size: 13px;
    color: #a0aec0;
}

/* Manual Instructions Section */
.simtaly-manual-instructions-section {
    margin: 40px 0 20px;
}

.simtaly-details-accordion {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
}

.simtaly-details-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s;
    list-style: none;
}

.simtaly-details-summary::-webkit-details-marker {
    display: none;
}

.simtaly-details-summary:hover {
    background: #edf2f7;
}

.simtaly-summary-icon {
    display: inline-flex;
    margin-right: 10px;
    color: #0a538e;
}

.simtaly-chevron-icon {
    transition: transform 0.3s ease;
}

.simtaly-details-accordion[open] .simtaly-chevron-icon {
    transform: rotate(180deg);
}

.simtaly-instructions-content {
    padding: 20px 24px 30px;
    border-top: 1px solid #e2e8f0;
}

/* Platform Instructions */
.simtaly-platform-instructions {
    margin-bottom: 35px;
}

.simtaly-platform-instructions:last-child {
    margin-bottom: 0;
}

.simtaly-platform-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
}

.simtaly-platform-title svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.simtaly-instruction-steps {
    margin: 0 0 15px 0;
    padding-left: 28px;
    color: #4a5568;
    list-style-type: decimal;
}

.simtaly-instruction-steps li {
    margin-bottom: 12px;
    line-height: 1.7;
    padding-left: 8px;
}

.simtaly-instruction-steps li:last-child {
    margin-bottom: 0;
}

.simtaly-platform-note {
    font-size: 13px;
    color: #718096;
    font-style: italic;
    margin: 16px 0 0 0;
    padding: 14px 16px;
    background: #f7fafc;
    border-left: 3px solid #a0aec0;
    border-radius: 4px;
    line-height: 1.5;
}

/* Package Info Section */
.simtaly-activation-package-info {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
    text-align: left;
}

.simtaly-activation-package-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 20px 0;
}

.simtaly-package-details-grid {
    display: grid;
    gap: 15px;
}

.simtaly-package-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #f7fafc;
    border-radius: 6px;
}

.simtaly-detail-label {
    font-size: 14px;
    font-weight: 600;
    color: #718096;
}

.simtaly-detail-value {
    font-size: 15px;
    font-weight: 600;
    color: #2d3748;
}

/* ================================================================
   Prepaid Package Used Message Styles
   ================================================================ */

.simtaly-prepaid-message-container {
    max-width: 650px;
    margin: 0 auto;
    padding: 20px;
}

.simtaly-prepaid-message-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 50px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.simtaly-prepaid-message-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 25px 0;
    line-height: 1.3;
}

.simtaly-prepaid-message-text {
    font-size: 18px;
    color: #4a5568;
    line-height: 1.6;
    margin: 0 0 30px 0;
}

.simtaly-prepaid-message-text p {
    margin: 0 0 15px 0;
}

.simtaly-prepaid-message-text p:last-child {
    margin-bottom: 0;
}

.simtaly-prepaid-package-info {
    margin-top: 30px;
    padding: 20px;
    background: #f7fafc;
    border-radius: 10px;
    text-align: left;
}

.simtaly-prepaid-package-info p {
    margin: 0 0 10px 0;
    font-size: 15px;
    color: #2d3748;
}

.simtaly-prepaid-package-info p:last-child {
    margin-bottom: 0;
}

.simtaly-prepaid-package-info strong {
    color: #1a1a1a;
    font-weight: 600;
}

/* ================================================================
   Responsive Design for Activation Screen
   ================================================================ */

@media (max-width: 768px) {
    .simtaly-activation-container {
        padding: 0;
    }

    .simtaly-activation-card {
        padding: 15px 0;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
    }

    .simtaly-activation-title {
        font-size: 26px;
    }

    .simtaly-activation-greeting {
        font-size: 16px;
    }

    .simtaly-activation-instructions {
        font-size: 15px;
    }

    .simtaly-qr-code-section {
        padding: 20px;
    }

    .simtaly-qr-code {
        max-width: 250px;
        padding: 15px;
    }

    .simtaly-code-input-group {
        flex-direction: column;
        gap: 12px;
    }

    .simtaly-activation-code-input {
        font-size: 14px;
        padding: 12px;
    }

    .simtaly-copy-btn {
        width: 100%;
        padding: 14px;
        font-size: 16px;
    }

    .simtaly-activation-btn {
        width: 100%;
        padding: 14px 24px;
    }

    .simtaly-activation-buttons {
        flex-direction: column;
    }

    .simtaly-details-summary {
        padding: 16px 18px;
        font-size: 15px;
    }

    .simtaly-instructions-content {
        padding: 16px 18px 24px;
    }

    .simtaly-platform-title {
        font-size: 16px;
        margin-bottom: 14px;
        padding-bottom: 6px;
    }

    .simtaly-instruction-steps {
        font-size: 14px;
        padding-left: 24px;
    }

    .simtaly-instruction-steps li {
        margin-bottom: 10px;
    }

    .simtaly-package-detail {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    /* Prepaid message responsive */
    .simtaly-prepaid-message-container {
        padding: 15px;
    }

    .simtaly-prepaid-message-card {
        padding: 35px 25px;
    }

    .simtaly-prepaid-message-title {
        font-size: 26px;
    }

    .simtaly-prepaid-message-text {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .simtaly-activation-card {
        padding: 10px 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .simtaly-activation-title {
        font-size: 22px;
    }

    /* Prepaid message smaller mobile */
    .simtaly-prepaid-message-card {
        padding: 25px 20px;
        border-radius: 12px;
    }

    .simtaly-prepaid-message-title {
        font-size: 22px;
    }

    .simtaly-prepaid-message-text {
        font-size: 15px;
    }

    .simtaly-qr-code {
        max-width: 220px;
    }
}

/* ================================================================
   Accessibility and Print Styles
   ================================================================ */

/* Focus styles for keyboard navigation */
.simtaly-copy-btn:focus,
.simtaly-activation-btn:focus,
.simtaly-details-summary:focus {
    outline: 2px solid #0a538e;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .simtaly-activation-code-input {
        border-width: 2px;
    }

    .simtaly-copy-btn,
    .simtaly-activation-btn {
        border: 2px solid #000;
    }
}

/* ========================================
   Zone Intro Widget
   ======================================== */

/* Desktop: Hide thumbnail by default, but keep border-radius ready */
.simtaly-zone-intro-thumbnail-mobile {
    display: none;
    border-radius: 8px !important;
    object-fit: cover;
}

/* Mobile: Title full width, then thumbnail + text below */
@media (max-width: 767px) {
    .simtaly-zone-intro-header {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    /* Title spans full width at top */
    .simtaly-zone-intro-header .simtaly-zone-intro-title {
        width: 100%;
        margin-top: 0;
        margin-bottom: 8px;
    }

    /* Content wrapper for thumbnail + text */
    .simtaly-zone-intro-content {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 4px;
    }

    /* Thumbnail to the left with subtle rounded corners */
    .simtaly-zone-intro-content .simtaly-zone-intro-thumbnail-mobile {
        display: block;
        width: 80px;
        height: 80px;
        flex-shrink: 0;
        border-radius: 8px !important;
        object-fit: cover;
        border: 1px solid #e0e0e0;
    }

    /* Text content to the right of thumbnail */
    .simtaly-zone-intro-text {
        flex: 1;
        min-width: 0; /* Allow text to wrap properly */
    }
}

/* Tablet: Larger thumbnail (120×120px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .simtaly-zone-intro-header {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    /* Title spans full width at top */
    .simtaly-zone-intro-header .simtaly-zone-intro-title {
        width: 100%;
        margin-top: 0;
        margin-bottom: 8px;
    }

    /* Content wrapper for thumbnail + text */
    .simtaly-zone-intro-content {
        display: flex;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 16px;
    }

    /* Thumbnail to the left - larger on tablets */
    .simtaly-zone-intro-content .simtaly-zone-intro-thumbnail-mobile {
        display: block;
        width: 120px;
        height: 120px;
        flex-shrink: 0;
        border-radius: 8px !important;
        object-fit: cover;
        border: 1px solid #e0e0e0;
    }

    /* Text content to the right of thumbnail */
    .simtaly-zone-intro-text {
        flex: 1;
        min-width: 0; /* Allow text to wrap properly */
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .simtaly-copy-btn,
    .simtaly-activation-btn,
    .simtaly-details-summary,
    .simtaly-chevron-icon {
        transition: none;
    }

    .simtaly-copy-btn:hover,
    .simtaly-activation-btn:hover {
        transform: none;
    }

    .simtaly-copy-btn.simtaly-copied {
        transform: none;
    }
}

/* Print styles */
@media print {
    .simtaly-activation-container {
        max-width: 100%;
    }

    .simtaly-activation-card {
        box-shadow: none;
        border: none;
        background: transparent;
    }

    .simtaly-copy-btn,
    .simtaly-activation-btn {
        display: none;
    }

    .simtaly-qr-code img {
        max-width: 250px;
    }

    .simtaly-details-accordion {
        border: none;
    }

    .simtaly-details-accordion[open] .simtaly-instructions-content {
        display: block !important;
    }
}
@media (max-width: 768px) {
	.page-id-18 .e-con.e-flex>.e-con-inner {
		flex-wrap: initial;
	}
}

/* ============================================
   Currency Unavailability Styles
   ============================================ */

/* Currency warning banner */
.simtaly-currency-warning {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 0 0 24px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.simtaly-warning-icon {
    font-size: 24px;
    line-height: 1;
    color: #856404;
    flex-shrink: 0;
}

.simtaly-warning-content {
    flex: 1;
}

.simtaly-warning-content strong {
    display: block;
    color: #856404;
    font-size: 16px;
    margin-bottom: 4px;
}

.simtaly-warning-content p {
    margin: 0;
    color: #664d03;
    font-size: 14px;
    line-height: 1.5;
}


/* Price unavailable text */
.simtaly-price-unavailable {
    color: #6c757d !important;
    font-style: italic;
    font-size: 13px !important;
}

/* Disabled buy button state */
.simtaly-buy-now-btn.simtaly-btn-disabled,
.simtaly-buy-now-btn:disabled {
    background: #e0e0e0 !important;
    color: #9e9e9e !important;
    cursor: not-allowed !important;
    opacity: 0.6;
    border-color: #bdbdbd !important;
}

.simtaly-buy-now-btn.simtaly-btn-disabled:hover,
.simtaly-buy-now-btn:disabled:hover {
    background: #e0e0e0 !important;
    color: #9e9e9e !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Boost package disabled state */
.simtaly-boost-card .simtaly-buy-now-btn.simtaly-btn-disabled,
.simtaly-boost-card .simtaly-buy-now-btn:disabled {
    background: #e0e0e0 !important;
    color: #9e9e9e !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .simtaly-currency-warning {
        padding: 12px 16px;
        margin-bottom: 16px;
        gap: 10px;
    }

    .simtaly-warning-icon {
        font-size: 20px;
    }

    .simtaly-warning-content strong {
        font-size: 14px;
    }

    .simtaly-warning-content p {
        font-size: 13px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .simtaly-currency-warning {
        border-width: 2px;
        border-color: #000;
    }

    .simtaly-buy-now-btn.simtaly-btn-disabled,
    .simtaly-buy-now-btn:disabled {
        border: 2px solid #000 !important;
    }
}

/* ================================================================
   Email Obfuscation Styles (Issue #53)
   ================================================================ */

/* Obfuscated Email Links */
.simtaly-email-obfuscated {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: currentColor;
    text-underline-offset: 2px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.simtaly-email-obfuscated:hover {
    text-decoration-thickness: 2px;
    opacity: 0.8;
}

.simtaly-email-obfuscated:focus {
    outline: 2px solid #0a538e;
    outline-offset: 2px;
    border-radius: 2px;
}

.simtaly-email-obfuscated:active {
    opacity: 0.6;
}

/* Noscript Fallback (JavaScript disabled) */
.simtaly-email-noscript {
    display: inline-block;
    padding: 6px 12px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    color: #856404;
    font-size: 0.9em;
    line-height: 1.4;
}

.simtaly-email-noscript small {
    display: block;
    font-size: 0.85em;
    margin-top: 4px;
    font-style: italic;
    opacity: 0.8;
}

/* Error State */
.simtaly-email-error {
    color: #dc3545;
    font-size: 0.9em;
    font-style: italic;
}

/* Accessibility - High Contrast Mode */
@media (prefers-contrast: high) {
    .simtaly-email-obfuscated {
        text-decoration-thickness: 2px;
    }

    .simtaly-email-obfuscated:focus {
        outline-width: 3px;
    }

    .simtaly-email-noscript {
        border-width: 2px;
        border-color: #000;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .simtaly-email-obfuscated {
        transition: none;
    }
}

/* Print Styles */
@media print {
    /* In print, we want to show the actual email if JavaScript has decoded it */
    .simtaly-email-noscript {
        display: none;
    }

    .simtaly-email-obfuscated[href^="mailto:"] {
        text-decoration: underline;
        color: #000;
    }
}

/* ========================================
   Help Center Button Widget
   ======================================== */

.simtaly-help-center-button-wrapper {
    display: block;
    margin: 20px 0;
}

.simtaly-help-center-button {
    display: inline-block;
    text-decoration: none !important;
    cursor: pointer;
    border: none;
    outline: none;
    line-height: 1.5;
    background: none;
    font-family: inherit;
}

/* Remove any default button/link styling */
.simtaly-help-center-button:hover,
.simtaly-help-center-button:visited,
.simtaly-help-center-button:active,
.simtaly-help-center-button:link {
    text-decoration: none !important;
}

.simtaly-help-center-button:focus {
    outline: 2px solid #0a538e;
    outline-offset: 2px;
}

/* ========================================
   Footer Links Shortcode
   ======================================== */

.simtaly-footer-links {
    text-align: left;
    font-size: 1rem;
}

.simtaly-footer-links-zones,
.simtaly-footer-links-social {
    margin: 0;
    padding: 0;
    list-style: none;
}

.simtaly-footer-links-zones {
    margin-bottom: 20px;
}

.simtaly-footer-links-zones li,
.simtaly-footer-links-social li {
    margin-bottom: 0;
}

.simtaly-footer-links a {
    color: rgb(32, 77, 133);
    text-decoration: none;
}

.simtaly-footer-links a:hover {
    color: rgb(32, 77, 133);
    opacity: 0.8;
}

.simtaly-footer-links-social a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.simtaly-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.simtaly-social-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

@media (max-width: 544px) {
    .simtaly-footer-links {
        text-align: center;
    }

    .simtaly-footer-links-social a {
        justify-content: center;
    }
}

/* ========================================
   Social Links Shortcode
   ======================================== */

.simtaly-social-links {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

.simtaly-social-links li {
    margin-bottom: 5px;
}

.simtaly-social-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgb(32, 77, 133);
    text-decoration: none;
}

.simtaly-social-links a:hover {
    color: rgb(32, 77, 133);
    opacity: 0.8;
}

/* ========================================
   Footer Zones Shortcode
   ======================================== */

.simtaly-footer-zones {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

.simtaly-footer-zones a {
    color: rgb(32, 77, 133);
}

.simtaly-footer-zones a:hover {
    color: rgb(32, 77, 133);
    opacity: 0.8;
}

/* ========================================
   Zone Card Component
   (migrated from templates/zone-card.php)
   ======================================== */

.simtaly-zone-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
    height: 100%; /* Force card to fill grid cell height for uniform sizing */
}

.simtaly-zone-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: #007cba;
}

.simtaly-zone-card-image {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
    width: 100%; /* Fix Safari aspect-ratio flex bug */
}

.simtaly-zone-card.aspect-ratio-1-1 .simtaly-zone-card-image {
    aspect-ratio: 1/1;
}

.simtaly-zone-card.aspect-ratio-16-9 .simtaly-zone-card-image {
    aspect-ratio: 16/9;
}

.simtaly-zone-card.aspect-ratio-4-3 .simtaly-zone-card-image {
    aspect-ratio: 4/3;
}

.simtaly-zone-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.simtaly-zone-card:hover .simtaly-zone-card-image img {
    transform: scale(1.05);
}

.simtaly-zone-card-image img.simtaly-placeholder {
    filter: sepia(10%) saturate(0.8) brightness(0.95);
    opacity: 0.9;
}

.simtaly-zone-flag {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    z-index: 1;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.simtaly-zone-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}

.simtaly-zone-card-info {
    padding: 12px;
    flex: 1 1 auto; /* Allow flexible growth but maintain structure */
    min-height: 60px;
    max-height: 90px; /* Prevent excessive height variation */
    overflow: hidden;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.simtaly-zone-card-title-wrapper {
    flex: 0 0 19px;
    display: flex;
    align-items: center;
    min-height: 0;
}

.simtaly-zone-card-title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.1;
    transition: color 0.3s ease;
}

.simtaly-zone-card-meta {
    flex: 0 0 17px;
}

.simtaly-zone-card:hover .simtaly-zone-card-title {
    color: #007cba;
}

.simtaly-zone-card-description {
    margin: 4px 0;
    font-size: 11px;
    color: #6c757d;
    line-height: 1.3;
    display: none;
}

.simtaly-zone-card-coverage {
    margin-top: 4px;
}

.simtaly-coverage-info {
    font-size: 10px;
    color: #007cba;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.simtaly-zone-card-price {
    margin-top: 4px;
    font-size: 12px;
    color: #F18200;
    font-weight: 600;
    text-align: left;
}

.simtaly-zone-card-price .simtaly-price-label {
    color: #666;
    font-weight: 400;
    margin-right: 3px;
}

.simtaly-zone-card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    text-decoration: none;
}

.simtaly-zone-card-link:focus {
    outline: 3px solid #007cba;
    outline-offset: 3px;
}

.simtaly-placeholder-indicator {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(255, 193, 7, 0.9);
    color: #856404;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 600;
    z-index: 1;
}

@media (min-width: 768px) {
    .simtaly-zone-card-info {
        padding: 15px;
        flex: 0 0 70px;
    }

    .simtaly-zone-card-title-wrapper {
        flex: 0 0 25px;
    }

    .simtaly-zone-card-title {
        font-size: 15px;
    }

    .simtaly-zone-card-meta {
        flex: 0 0 21px;
    }

    .simtaly-zone-card-description {
        display: block;
        font-size: 12px;
    }

    .simtaly-coverage-info {
        font-size: 11px;
    }

    .simtaly-zone-flag {
        width: 28px;
        height: 28px;
        top: 10px;
        right: 10px;
    }
}

@media (min-width: 1024px) {
    .simtaly-zone-card-title {
        font-size: 16px;
    }

    .simtaly-zone-card-description {
        font-size: 13px;
    }
}

@media (prefers-contrast: high) {
    .simtaly-zone-card {
        border-width: 2px;
        border-color: #000;
    }

    .simtaly-zone-card:hover {
        border-color: #007cba;
    }
}

@media (prefers-reduced-motion: reduce) {
    .simtaly-zone-card,
    .simtaly-zone-card-image img {
        transition: none;
    }

    .simtaly-zone-card:hover {
        transform: none;
    }

    .simtaly-zone-card:hover .simtaly-zone-card-image img {
        transform: none;
    }
}

/* ========================================
   Horizontal Zones Carousel
   (migrated from templates/horizontal-zones.php)
   ======================================== */

.simtaly-horizontal-zones-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.simtaly-horizontal-zones-container {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.simtaly-horizontal-zones-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Scroll Snap */
.simtaly-horizontal-zones-container.scroll-snap-enabled {
    scroll-snap-type: x mandatory;
}

.simtaly-horizontal-zones-container.scroll-snap-enabled .simtaly-horizontal-zone-card {
    scroll-snap-align: start;
}

/* Navigation Arrows */
.simtaly-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.simtaly-nav-arrow:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-50%) scale(1.1);
}

.simtaly-nav-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.simtaly-nav-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: translateY(-50%) scale(1);
}

.simtaly-nav-prev {
    left: 10px;
}

.simtaly-nav-next {
    right: 10px;
}

.simtaly-nav-arrow span {
    font-size: inherit;
    line-height: 1;
}

/* Admin Notice */
.simtaly-admin-notice {
    display: block;
}

/* Horizontal Zones Responsive Design */
@media (max-width: 768px) {
    .simtaly-nav-arrow {
        display: none; /* Hide arrows on mobile, use touch scrolling */
    }

    .simtaly-horizontal-zones-wrapper {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .simtaly-horizontal-zones-wrapper {
        padding: 0 5px;
    }
}

/* Horizontal Zones Focus styles for accessibility */
.simtaly-horizontal-zones-container:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

.simtaly-nav-arrow:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

/* Horizontal Zones High contrast mode support */
@media (prefers-contrast: high) {
    .simtaly-nav-arrow {
        border-width: 2px;
        border-color: #000;
    }
}

/* Horizontal Zones Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .simtaly-horizontal-zones-container {
        scroll-behavior: auto;
    }

    .simtaly-nav-arrow {
        transition: none;
    }

    .simtaly-nav-arrow:hover {
        transform: translateY(-50%);
    }
}

/* ========================================
   Location Zones Grid
   (migrated from templates/location-zones-grid.php)
   ======================================== */

.simtaly-zones-toggle {
    margin-bottom: 30px;
}

.simtaly-toggle-btn {
    padding: 12px 24px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 5px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.simtaly-toggle-btn:hover {
    background: #007cba;
    color: white;
    border-color: #007cba;
}

.simtaly-toggle-btn.active {
    background: #007cba;
    color: white;
    border-color: #007cba;
}

.simtaly-zones-grid {
    display: grid;
    gap: 20px;
    align-items: stretch; /* Force all cards to same height per row */
}

/* Grid Aspect ratio classes */
.simtaly-zones-grid.aspect-ratio-16-9 .simtaly-zone-card-image {
    aspect-ratio: 16/9;
}

.simtaly-zones-grid.aspect-ratio-4-3 .simtaly-zone-card-image {
    aspect-ratio: 4/3;
}

.simtaly-zones-grid.aspect-ratio-1-1 .simtaly-zone-card-image {
    aspect-ratio: 1/1;
}

/* Grid Responsive adjustments */
@media (max-width: 768px) {
    .simtaly-zones-grid {
        gap: 15px;
    }

    .simtaly-toggle-btn {
        padding: 10px 18px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .simtaly-zones-toggle {
        margin-bottom: 20px;
    }

    .simtaly-toggle-btn {
        padding: 8px 16px;
        font-size: 12px;
        margin-right: 3px;
    }

    .simtaly-zones-grid {
        gap: 12px;
    }
}

/* ========================================
   Apple Pay (Mollie Direct integration)
   ======================================== */

.simtaly-apple-pay-section {
    margin: 16px 0 12px;
}

.simtaly-apple-pay-button {
    -webkit-appearance: -apple-pay-button;
    appearance: -apple-pay-button;
    -apple-pay-button-type: buy;
    -apple-pay-button-style: black;
    display: block;
    width: 100%;
    height: 48px;
    border: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
    border-radius: 8px;
    background-color: #000;
    color: #fff;
}

.simtaly-apple-pay-button:hover,
.simtaly-apple-pay-button:focus {
    opacity: 0.9;
}

.simtaly-apple-pay-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.simtaly-apple-pay-divider {
    display: flex;
    align-items: center;
    margin: 16px 0;
    color: #888;
    font-size: 13px;
    line-height: 1;
}

.simtaly-apple-pay-divider::before,
.simtaly-apple-pay-divider::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background-color: #e0e0e0;
}

.simtaly-apple-pay-divider span {
    padding: 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.simtaly-apple-pay-error {
    display: none;
    margin: 0 0 12px;
    padding: 10px 12px;
    background-color: #fdecea;
    color: #b3261e;
    border: 1px solid #f5c2bd;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.4;
}

.simtaly-apple-pay-error-visible {
    display: block;
}

@media (max-width: 480px) {
    .simtaly-apple-pay-button {
        height: 44px;
    }
}

/* intl-tel-input wrapper should fill the checkout form field width (issue #105) */
.simtaly-contact-form-group .iti {
  width: 100%;
}

/* The country dropdown is appended to <body> (dropdownContainer) so the
   checkout modal's overflow-y:auto can't clip it. Lift it above the modal
   overlay (z-index 999999). Issue #105 layout fix. */
.iti--container {
  z-index: 1000002 !important;
}

/* Keep room for the country-search magnifier icon (positioned at left:8px) so
   it doesn't overlap the placeholder when the active theme restyles inputs. */
.iti__search-input {
  padding-left: 30px !important;
  padding-right: 28px !important;
}
