/* Dash eSIM Module Dedicated Stylesheet (/dash/esim, /dash/esim/orders) */

.esim-shop-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.esim-shop-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
}

.esim-shop-subtitle {
    font-size: 0.92rem;
    color: #64748b;
}

/* Plain "ghost" link instead of a bordered pill floating on its own row —
   a boxed button with nothing else near it read as a stray, disconnected
   element; text-only with a chevron reads as an ordinary back-navigation
   link and sits naturally right above the heading it belongs to */
.esim-change-destination-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--tblr-secondary-color, #64748b);
    text-decoration: none;
    transition: color 0.15s ease;
}

.esim-change-destination-btn i {
    transition: transform 0.15s ease;
}

.esim-change-destination-btn:hover {
    color: var(--tblr-primary, #206bc4);
}

.esim-change-destination-btn:hover i {
    transform: translateX(-3px);
}

/* destination.css's .dest-card was authored for <a>; reused here as a <button> for in-page
   selection instead of navigation, so its default button chrome needs clearing */
button.dest-card {
    border: 0;
    width: 100%;
    text-align: left;
    font: inherit;
    cursor: pointer;
}

/* Generic compact dropdown-select component (used for the Step 2 duration picker) */

.esim-select-wrapper {
    position: relative;
    width: 100%;
}

.esim-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 600;
    color: #1e293b;
    transition: border-color 0.15s ease;
}

.esim-select-trigger:hover,
.esim-select-trigger.active {
    border-color: #2563eb;
}

.esim-select-trigger.active svg {
    transform: rotate(180deg);
}

.esim-select-trigger svg {
    transition: transform 0.15s ease;
    flex-shrink: 0;
}

.esim-select-panel {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 20;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    max-height: 360px;
    overflow-y: auto;
    flex-direction: column;
}

.esim-select-panel.show {
    display: flex;
}

.esim-select-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding: 9px 10px;
    background: none;
    border: none;
    border-radius: 8px;
    text-align: left;
    font-size: 0.86rem;
    color: #334155;
    cursor: pointer;
}

.esim-select-item:hover {
    background-color: #eff6ff;
    color: #1d4ed8;
}

.esim-plan-select-item-price {
    font-weight: 700;
    color: #2563eb;
    flex-shrink: 0;
}

#planSelectLabel,
.esim-plan-item-left {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.esim-plan-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.3;
}

.esim-plan-item-perday {
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 500;
}

.esim-plan-day-pill {
    flex-shrink: 0;
    background-color: #e2e8f0;
    color: #334155;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
}

.esim-select-item.esim-plan-select-item:hover .esim-plan-day-pill,
.esim-plan-select-trigger .esim-plan-day-pill {
    background-color: var(--tblr-primary, #206bc4);
    color: #ffffff;
}

.esim-plan-item-size {
    font-weight: 600;
    color: #334155;
}

/* Step 2: hero photo + two stacked cards (mirrors the public country landing page) */

.esim-package-layout {
    display: flex;
    align-items: stretch;
    gap: 20px;
}

.esim-package-photo-col {
    position: relative;
    flex: 0 0 40%;
    max-width: 40%;
}

.esim-package-hero-dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.esim-package-hero-dot {
    width: 6px;
    height: 6px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
}

.esim-package-hero-dot.active {
    width: 18px;
    border-radius: 4px;
    background-color: #ffffff;
}

.esim-package-info-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.esim-package-info-card {
    flex-grow: 0;
}

.esim-package-hero {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    border-radius: 20px;
}

@media (max-width: 767.98px) {
    .esim-package-layout {
        flex-direction: column;
    }

    .esim-package-photo-col {
        flex-basis: auto;
        max-width: 100%;
    }

    .esim-package-hero {
        min-height: 220px;
    }
}

.esim-package-country-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
}

.esim-package-price-badge {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--tblr-primary, #206bc4);
}

.esim-package-tabs .nav-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    padding: 6px 16px;
    border-radius: 20px;
}

.esim-package-tabs .nav-link.active {
    background-color: #0f172a;
    color: #ffffff;
}

.esim-plan-details-btn {
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
    padding: 5px 12px;
    background: #ffffff;
}

.esim-plan-details-btn:hover {
    border-color: #94a3b8;
    color: #1e293b;
}

.esim-plan-details-field-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #94a3b8;
    margin-bottom: 4px;
}

.esim-plan-details-field-value {
    font-size: 0.92rem;
    font-weight: 600;
    color: #0f172a;
}

.esim-package-data-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}

.esim-package-coverage-speed {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
}

.esim-package-coverage-speed-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
}

.esim-package-coverage-speed-text {
    font-size: 0.85rem;
    color: #334155;
}

.esim-package-coverage-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background-color: #fff7ed;
    color: #9a3412;
    font-size: 0.8rem;
    padding: 10px 12px;
    border-radius: 10px;
    margin: 8px 0 14px 0;
}

.esim-package-coverage-carriers ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.esim-package-coverage-carriers li {
    font-size: 0.85rem;
    color: #334155;
    padding: 3px 0 3px 16px;
    position: relative;
}

.esim-package-coverage-carriers li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 12px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #94a3b8;
}

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

.esim-package-features li {
    font-size: 0.85rem;
    color: #475569;
    padding: 6px 0 6px 22px;
    position: relative;
    border-bottom: 1px dashed #eef2f6;
}

.esim-package-features li:last-child {
    border-bottom: none;
}

.esim-package-features li::before {
    content: "\2713";
    position: absolute;
    left: 2px;
    color: #16a34a;
    font-weight: 700;
}

.esim-package-coverage-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.esim-package-coverage-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background-color: #f1f5f9;
    border-radius: 20px;
    font-size: 0.82rem;
    color: #334155;
}

.esim-package-coverage-chip .flag {
    height: 1.1rem;
}

.esim-package-save-badge {
    display: inline-block;
    background-color: #0f172a;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

.esim-package-highlight-box {
    background-color: #eff6ff;
    border-radius: 14px;
    padding: 16px;
}

.esim-package-highlight-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 6px;
}

.esim-plan-select-trigger {
    background: #ffffff;
}

.esim-package-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid rgba(37, 99, 235, 0.15);
    font-weight: 700;
    color: #0f172a;
}

.esim-package-total-row span:last-child {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--tblr-primary, #206bc4);
}

.esim-plan-buy-btn,
.esim-plan-buy-btn:hover,
.esim-plan-buy-btn:focus,
.esim-plan-buy-btn:active {
    background: var(--tblr-primary, #206bc4) !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 700;
    border-radius: 10px;
    padding: 10px 20px;
}

.esim-plan-buy-btn:hover {
    background: var(--tblr-primary-darken, #1a569d) !important;
}

/* Orders page */

.esim-order-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
}

.esim-order-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.esim-order-card:hover {
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
    transform: translateY(-2px);
}

.esim-order-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
    border-bottom: 1px solid #e2e8f0;
}

.esim-order-flag {
    flex-shrink: 0;
    width: 2.6rem;
    border-radius: 8px;
    box-shadow: 0 0 0 2px #ffffff, 0 2px 6px rgba(0, 0, 0, 0.12);
}

.esim-order-header-text {
    flex-grow: 1;
    min-width: 0;
}

.esim-order-product-name {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.esim-order-meta {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    color: #94a3b8;
    font-family: monospace;
}

.esim-order-meta i {
    font-size: 0.85rem;
}

.esim-order-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: #dcfce7;
    color: #15803d;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    flex-shrink: 0;
}

.esim-order-status-badge i {
    font-size: 0.5rem;
}

.esim-order-status-badge-pending {
    background-color: #fef3c7;
    color: #b45309;
}

.esim-order-status-badge-failed {
    background-color: #fee2e2;
    color: #b91c1c;
}

.esim-order-status-badge-refunded {
    background-color: #e2e8f0;
    color: #475569;
}

.esim-order-processing-note {
    display: flex;
    align-items: center;
    padding: 16px;
    margin-bottom: 16px;
    border-radius: 8px;
    background-color: #fef3c7;
    color: #b45309;
    font-size: 0.85rem;
}

.esim-order-processing-note-failed {
    background-color: #fee2e2;
    color: #b91c1c;
}

.esim-order-processing-note-refunded {
    background-color: #e2e8f0;
    color: #475569;
}

.esim-order-card-body {
    padding: 18px;
}

.esim-order-qr-frame {
    display: flex;
    justify-content: center;
    padding: 16px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    border-radius: 14px;
}

.esim-order-qr {
    display: inline-flex;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: 8px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    line-height: 0;
}

.esim-order-detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.83rem;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
}

.esim-order-detail-row:last-of-type {
    border-bottom: none;
}

.esim-order-detail-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #94a3b8;
    font-weight: 500;
}

.esim-order-detail-label i {
    font-size: 0.95rem;
    color: #94a3b8;
}

.esim-order-detail-value {
    color: #334155;
    font-weight: 700;
    font-family: monospace;
}

.esim-order-detail-price {
    color: var(--tblr-primary, #206bc4);
    font-size: 0.95rem;
}

.esim-order-usage-box {
    margin-top: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}

.esim-order-usage-label {
    display: flex;
    align-items: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 8px;
}

.esim-order-usage-loading {
    display: flex;
    justify-content: center;
    padding: 6px 0;
    color: #94a3b8;
}

.esim-order-usage-loading .spinner-border {
    width: 1rem;
    height: 1rem;
}

.esim-order-usage-empty {
    font-size: 0.78rem;
    color: #94a3b8;
    text-align: center;
    padding: 4px 0;
}

.esim-order-usage-bar {
    width: 100%;
    height: 8px;
    background-color: #f1f5f9;
    border-radius: 20px;
    overflow: hidden;
}

.esim-order-usage-bar-fill {
    height: 100%;
    background: var(--tblr-primary, #206bc4);
    border-radius: 20px;
    transition: width 0.3s ease;
}

.esim-order-usage-text {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 6px;
    text-align: right;
}

.esim-order-lpa-box {
    margin-top: 12px;
    padding: 12px;
    background-color: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
}

.esim-order-lpa-label {
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 6px;
}

.esim-order-lpa-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.esim-order-lpa-code {
    flex-grow: 1;
    font-size: 0.75rem;
    color: #334155;
    word-break: break-all;
}

.esim-order-copy-btn {
    flex-shrink: 0;
    background-color: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    border: none;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
}

.esim-order-copy-btn:hover {
    background-color: rgba(37, 99, 235, 0.18);
    color: #1d4ed8;
}

/* ==========================================================================
   Night Theme Adaptation
   ========================================================================== */

/* destination.css's .dest-card family keys off Tabler CSS variables
   (--tblr-bg-surface etc.) that only exist on the real Tabler-powered
   /destination page. This admin layout never defines them, so those rules
   always fall back to their light-theme hardcoded values regardless of
   theme — the cards stay white here even in night mode. Override explicitly,
   reusing this file's established dark palette. */
[data-pc-theme="dark"] .dest-card,
[data-bs-theme="dark"] .dest-card,
[data-theme="dark"] .dest-card,
body.theme-dark .dest-card,
.theme-dark .dest-card {
    background: #0b1329 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-pc-theme="dark"] .dest-card-name,
[data-bs-theme="dark"] .dest-card-name,
[data-theme="dark"] .dest-card-name,
body.theme-dark .dest-card-name,
.theme-dark .dest-card-name {
    color: #f8fafc !important;
}

[data-pc-theme="dark"] .dest-card-esim-label,
[data-bs-theme="dark"] .dest-card-esim-label,
[data-theme="dark"] .dest-card-esim-label,
body.theme-dark .dest-card-esim-label,
.theme-dark .dest-card-esim-label,
[data-pc-theme="dark"] .dest-card-sub,
[data-bs-theme="dark"] .dest-card-sub,
[data-theme="dark"] .dest-card-sub,
body.theme-dark .dest-card-sub,
.theme-dark .dest-card-sub,
[data-pc-theme="dark"] .dest-card-arrow,
[data-bs-theme="dark"] .dest-card-arrow,
[data-theme="dark"] .dest-card-arrow,
body.theme-dark .dest-card-arrow,
.theme-dark .dest-card-arrow {
    color: #94a3b8 !important;
}

[data-pc-theme="dark"] .dest-card-corner,
[data-bs-theme="dark"] .dest-card-corner,
[data-theme="dark"] .dest-card-corner,
body.theme-dark .dest-card-corner,
.theme-dark .dest-card-corner {
    background: rgba(255, 255, 255, 0.06) !important;
}

/* Many real flags (Japan, South Korea, Canada, Italy, France, etc.) are
   mostly or partly white by design. destination.css's default ring
   (rgba(0,0,0,0.06)) is invisible against a dark card, so those icons look
   like blank/broken white patches here. Replace it with a light-based ring
   that stays visible now that .dest-card actually goes dark above. */
[data-pc-theme="dark"] .dest-card-icon-flag.flag,
[data-bs-theme="dark"] .dest-card-icon-flag.flag,
[data-theme="dark"] .dest-card-icon-flag.flag,
body.theme-dark .dest-card-icon-flag.flag,
.theme-dark .dest-card-icon-flag.flag {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18) !important;
}

[data-pc-theme="dark"] .esim-shop-card,
[data-bs-theme="dark"] .esim-shop-card,
[data-theme="dark"] .esim-shop-card,
body.theme-dark .esim-shop-card,
.theme-dark .esim-shop-card,
[data-pc-theme="dark"] .esim-order-card,
[data-bs-theme="dark"] .esim-order-card,
[data-theme="dark"] .esim-order-card,
body.theme-dark .esim-order-card,
.theme-dark .esim-order-card,
[data-pc-theme="dark"] .esim-select-trigger,
[data-bs-theme="dark"] .esim-select-trigger,
[data-theme="dark"] .esim-select-trigger,
body.theme-dark .esim-select-trigger,
.theme-dark .esim-select-trigger,
[data-pc-theme="dark"] .esim-select-panel,
[data-bs-theme="dark"] .esim-select-panel,
[data-theme="dark"] .esim-select-panel,
body.theme-dark .esim-select-panel,
.theme-dark .esim-select-panel {
    background: #0b1329 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #f8fafc !important;
}

[data-pc-theme="dark"] .esim-shop-title,
[data-bs-theme="dark"] .esim-shop-title,
[data-theme="dark"] .esim-shop-title,
body.theme-dark .esim-shop-title,
.theme-dark .esim-shop-title,
[data-pc-theme="dark"] .esim-package-country-name,
[data-bs-theme="dark"] .esim-package-country-name,
[data-theme="dark"] .esim-package-country-name,
body.theme-dark .esim-package-country-name,
.theme-dark .esim-package-country-name,
[data-pc-theme="dark"] .esim-package-total-row,
[data-bs-theme="dark"] .esim-package-total-row,
[data-theme="dark"] .esim-package-total-row,
body.theme-dark .esim-package-total-row,
.theme-dark .esim-package-total-row,
[data-pc-theme="dark"] .esim-order-product-name,
[data-bs-theme="dark"] .esim-order-product-name,
[data-theme="dark"] .esim-order-product-name,
body.theme-dark .esim-order-product-name,
.theme-dark .esim-order-product-name {
    color: #f8fafc !important;
}

[data-pc-theme="dark"] .esim-shop-subtitle,
[data-bs-theme="dark"] .esim-shop-subtitle,
[data-theme="dark"] .esim-shop-subtitle,
body.theme-dark .esim-shop-subtitle,
.theme-dark .esim-shop-subtitle,
[data-pc-theme="dark"] .esim-select-item,
[data-bs-theme="dark"] .esim-select-item,
[data-theme="dark"] .esim-select-item,
body.theme-dark .esim-select-item,
.theme-dark .esim-select-item,
[data-pc-theme="dark"] .esim-order-detail-value,
[data-bs-theme="dark"] .esim-order-detail-value,
[data-theme="dark"] .esim-order-detail-value,
body.theme-dark .esim-order-detail-value,
.theme-dark .esim-order-detail-value,
[data-pc-theme="dark"] .esim-order-lpa-code,
[data-bs-theme="dark"] .esim-order-lpa-code,
[data-theme="dark"] .esim-order-lpa-code,
body.theme-dark .esim-order-lpa-code,
.theme-dark .esim-order-lpa-code {
    color: #cbd5e1 !important;
}

[data-pc-theme="dark"] .esim-select-item:hover,
[data-bs-theme="dark"] .esim-select-item:hover,
[data-theme="dark"] .esim-select-item:hover,
body.theme-dark .esim-select-item:hover,
.theme-dark .esim-select-item:hover {
    background-color: rgba(37, 99, 235, 0.15) !important;
    color: #60a5fa !important;
}

[data-pc-theme="dark"] .esim-package-highlight-box,
[data-bs-theme="dark"] .esim-package-highlight-box,
[data-theme="dark"] .esim-package-highlight-box,
body.theme-dark .esim-package-highlight-box,
.theme-dark .esim-package-highlight-box {
    background-color: rgba(37, 99, 235, 0.12) !important;
}

[data-pc-theme="dark"] .esim-package-features li,
[data-bs-theme="dark"] .esim-package-features li,
[data-theme="dark"] .esim-package-features li,
body.theme-dark .esim-package-features li,
.theme-dark .esim-package-features li {
    color: #cbd5e1 !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

[data-pc-theme="dark"] .esim-package-coverage-chip,
[data-bs-theme="dark"] .esim-package-coverage-chip,
[data-theme="dark"] .esim-package-coverage-chip,
body.theme-dark .esim-package-coverage-chip,
.theme-dark .esim-package-coverage-chip {
    background-color: rgba(255, 255, 255, 0.06) !important;
    color: #e2e8f0 !important;
}

[data-pc-theme="dark"] .esim-package-tabs .nav-link,
[data-bs-theme="dark"] .esim-package-tabs .nav-link,
[data-theme="dark"] .esim-package-tabs .nav-link,
body.theme-dark .esim-package-tabs .nav-link,
.theme-dark .esim-package-tabs .nav-link {
    color: #94a3b8 !important;
}

[data-pc-theme="dark"] .esim-package-tabs .nav-link.active,
[data-bs-theme="dark"] .esim-package-tabs .nav-link.active,
[data-theme="dark"] .esim-package-tabs .nav-link.active,
body.theme-dark .esim-package-tabs .nav-link.active,
.theme-dark .esim-package-tabs .nav-link.active {
    background-color: #60a5fa !important;
    color: #0b1329 !important;
}

[data-pc-theme="dark"] .esim-plan-select-trigger,
[data-bs-theme="dark"] .esim-plan-select-trigger,
[data-theme="dark"] .esim-plan-select-trigger,
body.theme-dark .esim-plan-select-trigger,
.theme-dark .esim-plan-select-trigger {
    background: rgba(255, 255, 255, 0.04) !important;
}

[data-pc-theme="dark"] .esim-order-card-header,
[data-bs-theme="dark"] .esim-order-card-header,
[data-theme="dark"] .esim-order-card-header,
body.theme-dark .esim-order-card-header,
.theme-dark .esim-order-card-header,
[data-pc-theme="dark"] .esim-order-qr-frame,
[data-bs-theme="dark"] .esim-order-qr-frame,
[data-theme="dark"] .esim-order-qr-frame,
body.theme-dark .esim-order-qr-frame,
.theme-dark .esim-order-qr-frame,
[data-pc-theme="dark"] .esim-order-lpa-box,
[data-bs-theme="dark"] .esim-order-lpa-box,
[data-theme="dark"] .esim-order-lpa-box,
body.theme-dark .esim-order-lpa-box,
.theme-dark .esim-order-lpa-box {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-pc-theme="dark"] .esim-order-flag,
[data-bs-theme="dark"] .esim-order-flag,
[data-theme="dark"] .esim-order-flag,
body.theme-dark .esim-order-flag,
.theme-dark .esim-order-flag {
    box-shadow: 0 0 0 2px #0b1329, 0 2px 6px rgba(0, 0, 0, 0.3) !important;
}

[data-pc-theme="dark"] .esim-order-meta,
[data-bs-theme="dark"] .esim-order-meta,
[data-theme="dark"] .esim-order-meta,
body.theme-dark .esim-order-meta,
.theme-dark .esim-order-meta,
[data-pc-theme="dark"] .esim-order-lpa-label,
[data-bs-theme="dark"] .esim-order-lpa-label,
[data-theme="dark"] .esim-order-lpa-label,
body.theme-dark .esim-order-lpa-label,
.theme-dark .esim-order-lpa-label {
    color: #94a3b8 !important;
}

[data-pc-theme="dark"] .esim-order-qr,
[data-bs-theme="dark"] .esim-order-qr,
[data-theme="dark"] .esim-order-qr,
body.theme-dark .esim-order-qr,
.theme-dark .esim-order-qr {
    background-color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

[data-pc-theme="dark"] .esim-order-detail-row,
[data-bs-theme="dark"] .esim-order-detail-row,
[data-theme="dark"] .esim-order-detail-row,
body.theme-dark .esim-order-detail-row,
.theme-dark .esim-order-detail-row {
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

[data-pc-theme="dark"] .esim-order-status-badge,
[data-bs-theme="dark"] .esim-order-status-badge,
[data-theme="dark"] .esim-order-status-badge,
body.theme-dark .esim-order-status-badge,
.theme-dark .esim-order-status-badge {
    background-color: rgba(22, 163, 74, 0.15) !important;
    color: #4ade80 !important;
}

[data-pc-theme="dark"] .esim-order-status-badge-pending,
[data-bs-theme="dark"] .esim-order-status-badge-pending,
[data-theme="dark"] .esim-order-status-badge-pending,
body.theme-dark .esim-order-status-badge-pending,
.theme-dark .esim-order-status-badge-pending {
    background-color: rgba(217, 119, 6, 0.15) !important;
    color: #fbbf24 !important;
}

[data-pc-theme="dark"] .esim-order-status-badge-failed,
[data-bs-theme="dark"] .esim-order-status-badge-failed,
[data-theme="dark"] .esim-order-status-badge-failed,
body.theme-dark .esim-order-status-badge-failed,
.theme-dark .esim-order-status-badge-failed {
    background-color: rgba(220, 38, 38, 0.15) !important;
    color: #f87171 !important;
}

[data-pc-theme="dark"] .esim-order-processing-note,
[data-bs-theme="dark"] .esim-order-processing-note,
[data-theme="dark"] .esim-order-processing-note,
body.theme-dark .esim-order-processing-note,
.theme-dark .esim-order-processing-note {
    background-color: rgba(217, 119, 6, 0.12) !important;
    color: #fbbf24 !important;
}

[data-pc-theme="dark"] .esim-order-processing-note-failed,
[data-bs-theme="dark"] .esim-order-processing-note-failed,
[data-theme="dark"] .esim-order-processing-note-failed,
body.theme-dark .esim-order-processing-note-failed,
.theme-dark .esim-order-processing-note-failed {
    background-color: rgba(220, 38, 38, 0.12) !important;
    color: #f87171 !important;
}

[data-pc-theme="dark"] .esim-order-status-badge-refunded,
[data-bs-theme="dark"] .esim-order-status-badge-refunded,
[data-theme="dark"] .esim-order-status-badge-refunded,
body.theme-dark .esim-order-status-badge-refunded,
.theme-dark .esim-order-status-badge-refunded {
    background-color: rgba(100, 116, 139, 0.2) !important;
    color: #cbd5e1 !important;
}

[data-pc-theme="dark"] .esim-order-processing-note-refunded,
[data-bs-theme="dark"] .esim-order-processing-note-refunded,
[data-theme="dark"] .esim-order-processing-note-refunded,
body.theme-dark .esim-order-processing-note-refunded,
.theme-dark .esim-order-processing-note-refunded {
    background-color: rgba(100, 116, 139, 0.15) !important;
    color: #cbd5e1 !important;
}

[data-pc-theme="dark"] .esim-order-copy-btn,
[data-bs-theme="dark"] .esim-order-copy-btn,
[data-theme="dark"] .esim-order-copy-btn,
body.theme-dark .esim-order-copy-btn,
.theme-dark .esim-order-copy-btn {
    background-color: rgba(96, 165, 250, 0.15) !important;
    color: #60a5fa !important;
}

[data-pc-theme="dark"] .esim-order-copy-btn:hover,
[data-bs-theme="dark"] .esim-order-copy-btn:hover,
[data-theme="dark"] .esim-order-copy-btn:hover,
body.theme-dark .esim-order-copy-btn:hover,
.theme-dark .esim-order-copy-btn:hover {
    background-color: rgba(96, 165, 250, 0.25) !important;
}

[data-pc-theme="dark"] .esim-plan-details-btn,
[data-bs-theme="dark"] .esim-plan-details-btn,
[data-theme="dark"] .esim-plan-details-btn,
body.theme-dark .esim-plan-details-btn,
.theme-dark .esim-plan-details-btn {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    color: #cbd5e1 !important;
}

[data-pc-theme="dark"] .esim-plan-details-field-value,
[data-bs-theme="dark"] .esim-plan-details-field-value,
[data-theme="dark"] .esim-plan-details-field-value,
body.theme-dark .esim-plan-details-field-value,
.theme-dark .esim-plan-details-field-value,
[data-pc-theme="dark"] .esim-package-data-summary,
[data-bs-theme="dark"] .esim-package-data-summary,
[data-theme="dark"] .esim-package-data-summary,
body.theme-dark .esim-package-data-summary,
.theme-dark .esim-package-data-summary,
[data-pc-theme="dark"] .esim-package-coverage-speed-text,
[data-bs-theme="dark"] .esim-package-coverage-speed-text,
[data-theme="dark"] .esim-package-coverage-speed-text,
body.theme-dark .esim-package-coverage-speed-text,
.theme-dark .esim-package-coverage-speed-text,
[data-pc-theme="dark"] .esim-package-coverage-carriers li,
[data-bs-theme="dark"] .esim-package-coverage-carriers li,
[data-theme="dark"] .esim-package-coverage-carriers li,
body.theme-dark .esim-package-coverage-carriers li,
.theme-dark .esim-package-coverage-carriers li,
[data-pc-theme="dark"] .esim-plan-item-size,
[data-bs-theme="dark"] .esim-plan-item-size,
[data-theme="dark"] .esim-plan-item-size,
body.theme-dark .esim-plan-item-size,
.theme-dark .esim-plan-item-size {
    color: #e2e8f0 !important;
}

[data-pc-theme="dark"] .esim-package-coverage-note,
[data-bs-theme="dark"] .esim-package-coverage-note,
[data-theme="dark"] .esim-package-coverage-note,
body.theme-dark .esim-package-coverage-note,
.theme-dark .esim-package-coverage-note {
    background-color: rgba(234, 88, 12, 0.15) !important;
    color: #fb923c !important;
}

[data-pc-theme="dark"] .esim-plan-day-pill,
[data-bs-theme="dark"] .esim-plan-day-pill,
[data-theme="dark"] .esim-plan-day-pill,
body.theme-dark .esim-plan-day-pill,
.theme-dark .esim-plan-day-pill {
    background-color: rgba(255, 255, 255, 0.12) !important;
    color: #e2e8f0 !important;
}

[data-pc-theme="dark"] .esim-change-destination-btn,
[data-bs-theme="dark"] .esim-change-destination-btn,
[data-theme="dark"] .esim-change-destination-btn,
body.theme-dark .esim-change-destination-btn,
.theme-dark .esim-change-destination-btn {
    color: #94a3b8 !important;
}

[data-pc-theme="dark"] .esim-change-destination-btn:hover,
[data-bs-theme="dark"] .esim-change-destination-btn:hover,
[data-theme="dark"] .esim-change-destination-btn:hover,
body.theme-dark .esim-change-destination-btn:hover,
.theme-dark .esim-change-destination-btn:hover {
    color: #60a5fa !important;
}

[data-pc-theme="dark"] .esim-order-usage-box,
[data-bs-theme="dark"] .esim-order-usage-box,
[data-theme="dark"] .esim-order-usage-box,
body.theme-dark .esim-order-usage-box,
.theme-dark .esim-order-usage-box {
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

[data-pc-theme="dark"] .esim-order-usage-label,
[data-bs-theme="dark"] .esim-order-usage-label,
[data-theme="dark"] .esim-order-usage-label,
body.theme-dark .esim-order-usage-label,
.theme-dark .esim-order-usage-label,
[data-pc-theme="dark"] .esim-order-usage-empty,
[data-bs-theme="dark"] .esim-order-usage-empty,
[data-theme="dark"] .esim-order-usage-empty,
body.theme-dark .esim-order-usage-empty,
.theme-dark .esim-order-usage-empty,
[data-pc-theme="dark"] .esim-order-usage-text,
[data-bs-theme="dark"] .esim-order-usage-text,
[data-theme="dark"] .esim-order-usage-text,
body.theme-dark .esim-order-usage-text,
.theme-dark .esim-order-usage-text {
    color: #94a3b8 !important;
}

[data-pc-theme="dark"] .esim-order-usage-bar,
[data-bs-theme="dark"] .esim-order-usage-bar,
[data-theme="dark"] .esim-order-usage-bar,
body.theme-dark .esim-order-usage-bar,
.theme-dark .esim-order-usage-bar {
    background-color: rgba(255, 255, 255, 0.08) !important;
}
