:root {
    --text-dark: #1D1D1F;
    --primary: #0071e3;
    --success: #34C759;
    --warning: #FF9F0A;
    --danger: #FF3B30;
    --teal: #30B0C7;
    --bg-page: #F5F5F7;
    --overlay: rgba(0,0,0,0.4);
    --whatsapp: #25D366;
    --wa-brand: #25D366;
}

/* --- НОВАЯ КНОПКА "ДРУГИЕ ВАРИАНТЫ" (iOS 26 Style) --- */
.btn-ios-secondary {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #1D1D1F;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 10px 1px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    flex: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    letter-spacing: -0.2px;
}
.btn-ios-secondary:active {
    transform: scale(0.96);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}
.btn-ios-secondary i {
    font-size: 14px;
    color: #8E8E93;
    transition: color 0.2s;
}
.btn-ios-secondary:active i {
    color: #1D1D1F;
}

.ios-iccid-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #F2F2F7;
    padding: 6px 10px;
    border-radius: 8px;
    margin-bottom: 12px;
    margin-left: 2px;
    margin-right: 2px;
}
.ios-iccid-label { font-size: 10px; font-weight: 700; color: #8E8E93; margin-right: 8px; }
.ios-iccid-value { font-family: 'SF Mono', 'Menlo', 'Monaco', monospace; font-size: 11px; color: #1D1D1F; letter-spacing: -0.2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; }
.ios-copy-mini { background: none; border: none; color: var(--primary); font-size: 12px; padding: 2px 6px; cursor: pointer; }

.ios-networks-section { margin-top: 16px; position: relative; }
.ios-net-header-label { font-size: 11px; font-weight: 700; color: #8E8E93; text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 8px; margin-left: 4px; }
.ios-single-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.ios-net-pill { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(0,0,0,0.05); border-radius: 14px; padding: 6px 10px 6px 6px; display: flex; align-items: center; gap: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.02); }
.net-tech-badge { border-radius: 10px; padding: 4px 7px; font-size: 10px; font-weight: 800; min-width: 32px; text-align: center; }
.tech-5g { background: linear-gradient(135deg, #2E5CFF, #B042FF); color: white; box-shadow: 0 2px 6px rgba(46, 92, 255, 0.2); }
.tech-lte { background: #E5E5EA; color: #1D1D1F; }
.net-operator-name { font-size: 12px; font-weight: 600; color: #1D1D1F; }

.ios-scroll-wrapper { display: flex; overflow-x: auto; gap: 10px; padding-bottom: 10px; padding-left: 2px; padding-right: 2px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.ios-scroll-wrapper::-webkit-scrollbar { display: none; }
.ios-net-tile { min-width: 120px; max-width: 120px; background: #FFFFFF; border-radius: 18px; padding: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.03); border: 1px solid rgba(0,0,0,0.04); display: flex; flex-direction: column; justify-content: space-between; flex-shrink: 0; height: 85px; position: relative; overflow: hidden; }
.tile-5g-glow { background: linear-gradient(160deg, #ffffff 40%, #f0f4ff 100%); border: 1px solid rgba(46, 92, 255, 0.15); }
.ios-tile-header { font-size: 11px; font-weight: 800; color: #1D1D1F; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 4px; z-index: 2; }
.ios-tile-ops { display: flex; flex-direction: column; gap: 3px; z-index: 2; }
.ios-op-row { font-size: 10px; color: #636366; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 4px; }
.badge-5g-mini { color: #2E5CFF; font-weight: 900; font-size: 9px; background: rgba(46, 92, 255, 0.1); padding: 1px 4px; border-radius: 4px; }
.tile-decor { position: absolute; bottom: -10px; right: -10px; width: 40px; height: 40px; background: linear-gradient(135deg, #007AFF, #5856D6); filter: blur(25px); opacity: 0.15; border-radius: 50%; z-index: 1; }

.ios-font { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

@keyframes springUp {
    0% { transform: scale(0.5); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}
.animate-spring { animation: springUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }

.esim-wrapper { font-family: 'Inter', sans-serif; background:#f5f5f700; color: var(--text-dark); min-height: 100vh; display: flex; justify-content: center; align-items: flex-start; padding-top: 20px; overflow-x: hidden; position: relative; }
.esim-wrapper .mesh-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.esim-wrapper .app-shell { width: 100%; max-width: 500px; padding: 0 5px; padding-bottom: 100px; position: relative; z-index: 1; }
.header-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; margin-top: 10px;}
.header-title { font-size: 32px; font-weight: 800; letter-spacing: -0.5px; }

.btn-header-action { width: 40px; height: 40px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0,0,0,0.05); cursor: pointer; transition: 0.2s; font-size: 16px; }
.btn-header-action:active { transform: scale(0.9); background: #f2f2f7; }
.btn-header-link { height: 40px; padding: 0 15px; background: #fff; border-radius: 20px; display: flex; align-items: center; justify-content: center; color: #1D1D1F; text-decoration: none; font-size: 13px; font-weight: 600; box-shadow: 0 2px 10px rgba(0,0,0,0.05); transition: 0.2s; }
.btn-header-link:active { transform: scale(0.95); background: #f2f2f7; }
.order-card { background: rgba(255,255,255,0.85); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.8); border-radius: 24px; padding: 16px; margin-bottom: 15px; box-shadow: 0 4px 15px rgba(0,0,0,0.02); position: relative; cursor: pointer; transition: transform 0.2s; }

.order-card:active { transform: scale(0.98); }
.card-header-row { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; }
.card-img-box { width: 55px; height: 35px; border-radius: 5px; overflow: hidden; flex-shrink: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); background: #f0f0f0; display: flex; align-items: center; justify-content: center; }
.card-flag-img { width: 100%; height: 100%; object-fit: cover; }
.card-icon-fallback { font-size: 20px; color: white; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.card-info { flex-grow: 1; min-width: 0; }
.card-title-row { font-size: 17px; font-weight: 700; color: #000; line-height: 1.3; margin-bottom: 2px; }
.card-package-span { font-size: 14px; color: var(--primary); font-weight: 600; white-space: nowrap; margin-left: 4px; }
.card-meta { font-size: 12px; color: #8E8E93; font-weight: 500; }
.card-right { text-align: right; flex-shrink: 0; }
.card-price { font-weight: 700; font-size: 16px; }
.card-status { font-size: 11px; font-weight: 600; margin-top: 3px; }

.icon-local { background: linear-gradient(135deg, #240b36, #c31432); }
.icon-default { background: linear-gradient(135deg, #007AFF, #00C6FF); }
.icon-topup { background: linear-gradient(135deg, #FF9F0A, #FF3B30); }

.status-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; margin-right: 4px; vertical-align: middle; }
.st-active { color: var(--success); } .st-active .status-dot { background: var(--success); box-shadow: 0 0 6px var(--success); }
.st-pending { color: var(--warning); } .st-pending .status-dot { background: var(--warning); }
.st-cancelled { color: var(--danger); } .st-cancelled .status-dot { background: var(--danger); }
.st-new { color: var(--primary); } .st-new .status-dot { background: var(--primary); }
.st-processing { color: var(--teal); } .st-processing .status-dot { background: var(--teal); animation: blink 1s infinite; }
@keyframes blink { 0% { opacity: 1; } 50% { opacity: 0.3; } 100% { opacity: 1; } }

.badge-topup { display: inline-block; background: #FFF4E5; color: #FF9F0A; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 4px; text-transform: uppercase; margin-bottom: 2px; }
.card-stats-inline { margin-top: 15px; padding-top: 15px; border-top: 1px solid rgba(0,0,0,0.06); }
.package-divider { border-top: 1px dashed #d1d1d6; margin: 18px 0; }

.stat-flex-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.stat-used-text { font-size: 11px; font-weight: 600; color: #86868b; text-transform: uppercase; letter-spacing: 0.3px; }

.waiting-box { background: #FFF4E5; border: 1px solid #FFE0B2; border-radius: 12px; padding: 12px; display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.waiting-icon { font-size: 20px; color: #FF9F0A; }
.waiting-content div:first-child { font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.waiting-content div:last-child { font-size: 11px; line-height: 1.3; }

.dates-inline { display: flex; justify-content: space-between; align-items: center; }
.date-label { font-size: 11px; color: #86868b; font-weight: 500; margin-right: 4px; }
.date-val { font-size: 12px; font-weight: 600; color: #333; }

.qr-skeleton { width: 200px; height: 200px; border-radius: 12px; margin: 0 auto 20px auto; background: linear-gradient(90deg, #f0f0f0 25%, #fafafa 50%, #f0f0f0 75%); background-size: 200% 100%; animation: skeleton-loading 1.5s infinite ease-in-out; }
.qr-img-loaded { display: block; width: 200px; border-radius: 1px; margin-bottom: 20px; margin-left: auto; margin-right: auto; }

.update-bar-container { width: 100%; height: 4px; background-color: #E5E5EA; border-radius: 2px; overflow: hidden; margin-top: 10px; margin-bottom: 15px; display: none; position: relative; }
.update-bar-container.active { display: block; }
.update-bar-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 50%; background-color: var(--teal); border-radius: 2px; animation: loading-slide 1.5s infinite ease-in-out; }
@keyframes loading-slide { 0% { left: -50%; } 100% { left: 100%; } }
.updating-text { font-size: 11px; color: var(--teal); font-weight: 600; margin-bottom: 5px; display: none; }
.updating-text.active { display: block; }

.topup-section-title { font-size: 13px; font-weight: 700; color: #86868b; text-transform: uppercase; margin: 20px 0 10px; letter-spacing: 0.5px; }
.packages-list { display: flex; flex-direction: column; gap: 10px; }
.pkg-row { background: white; border: 1px solid #E5E5EA; border-radius: 16px; padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; transition: 0.2s; }
.pkg-row:active { transform: scale(0.98); background: #F2F2F7; }
.pkg-left { display: flex; flex-direction: column; text-align: left; }
.pkg-data { font-size: 17px; font-weight: 800; color: #1D1D1F; }
.pkg-unit { font-size: 13px; font-weight: 600; }
.pkg-desc { font-size: 12px; color: #86868b; font-weight: 500; margin-top: 2px; }
.pkg-price-btn { background: var(--primary); color: white; border-radius: 20px; padding: 8px 16px; font-size: 13px; font-weight: 600; border: none; min-width: 80px; }
.pkg-price-btn:disabled { background: #ccc; cursor: not-allowed; }
.pkg-daily-tag { background: #E8F2FF; color: var(--primary); font-size: 10px; padding: 3px 6px; border-radius: 6px; text-transform: uppercase; font-weight: 700; margin-bottom: 4px; display: inline-block; width: fit-content; }

.confirm-card { background: white; border-radius: 20px; padding: 25px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); text-align: center; margin-bottom: 20px; border: 1px solid #E5E5EA; }
.conf-data { font-size: 32px; font-weight: 800; color: #1D1D1F; margin-bottom: 5px; }
.conf-desc { font-size: 15px; color: #86868b; margin-bottom: 15px; }
.conf-price { font-size: 24px; font-weight: 700; color: var(--primary); }
.conf-note { font-size: 12px; color: #86868b; background: #F2F2F7; padding: 10px; border-radius: 10px; margin-top: 15px; line-height: 1.4; text-align: left;}

.btn-quick-apple { background: #000; color: white; border: none; padding: 10px 24px; border-radius: 20px; font-size: 13px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 5px; box-shadow: 0 2px 10px rgba(0,0,0,0.15); flex: 1; }
.btn-quick-card { background: var(--primary); color: white; border: none; padding: 10px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 5px; box-shadow: 0 2px 10px rgba(0,113,227,0.3); flex: 1; }
.btn-group-install { display: flex; gap: 8px; margin-top: 20px; }
.btn-install { flex: 1; padding: 10px 5px; border-radius: 12px; font-size: 12px; font-weight: 600; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 5px; transition: 0.2s; text-decoration: none; }
.btn-install:active { transform: scale(0.96); }
.btn-black-fill { background: #1D1D1F; color: white; }
.btn-gray-outline { background: #fff; color: #1D1D1F; border: 1px solid #E5E5EA; }
.btn-help { background: #E8F2FF; color: var(--primary); }
.btn-esim-support-wa { background: var(--wa-brand); color: white; }

.btn-topup-block { background: rgb(8 116 236); color: #ffffff; border: 1px solid rgb(19 19 19 / 61%); width: 100%; margin-top: 15px; margin-bottom: 15px; padding: 12px; border-radius: 14px; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px; transition: 0.2s; cursor: pointer; }
.btn-topup-block:active { transform: scale(0.98); background: rgba(52, 199, 89, 0.2); }

/* 🆕 Срочный вид кнопки — когда трафик заканчивается (<10%) */
.btn-topup-block.topup-critical {
    background: linear-gradient(135deg, #FF3B30 0%, #FF9500 100%);
    border: 1px solid rgba(255, 59, 48, 0.4);
    box-shadow: 0 4px 16px rgba(255, 59, 48, 0.35);
    animation: topupPulseRed 2.2s infinite;
    font-size: 15px;
}
@keyframes topupPulseRed {
    0%, 100% { box-shadow: 0 4px 16px rgba(255, 59, 48, 0.35); }
    50%      { box-shadow: 0 6px 22px rgba(255, 59, 48, 0.55); }
}

/* 🆕 Тревожный вид — <25% */
.btn-topup-block.topup-warning {
    background: linear-gradient(135deg, #FF9500 0%, #FFB84D 100%);
    border: 1px solid rgba(255, 149, 0, 0.4);
    box-shadow: 0 3px 12px rgba(255, 149, 0, 0.25);
}

/* Подсказка над срочной кнопкой */
.topup-hint {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--danger);
    margin-top: 12px;
    margin-bottom: -5px;
    letter-spacing: -0.2px;
}
.btn-topup-block.topup-warning + .topup-hint,
.topup-hint:has(+ .btn-topup-block.topup-warning) {
    color: var(--warning);
}

/* 🆕 Блок состояния eSIM — заменяет кнопку "Докупить" когда eSIM нерабочая.
   Два варианта: красный для удаленной (deleted) и серый для истёкшей (expired). */
.esim-status-info {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-radius: 14px;
    padding: 12px 14px;
    margin-top: 15px;
    margin-bottom: 15px;
}
.esim-status-info i {
    font-size: 18px;
    margin-top: 1px;
    flex-shrink: 0;
}
.esim-status-title {
    font-size: 13px;
    font-weight: 700;
    color: #1D1D1F;
    margin-bottom: 2px;
}
.esim-status-desc {
    font-size: 11px;
    color: #86868b;
    line-height: 1.4;
}

/* Красный: клиент удалил eSIM (dpStatus=Delete) — необратимо */
.esim-status-info.esim-deleted {
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.08), rgba(255, 59, 48, 0.04));
    border: 1px solid rgba(255, 59, 48, 0.20);
}
.esim-status-info.esim-deleted i {
    color: var(--danger);
}
.esim-status-info.esim-deleted .esim-status-title {
    color: var(--danger);
}

/* Серый: срок истёк (expireDate < сегодня) */
.esim-status-info.esim-expired {
    background: rgba(142, 142, 147, 0.08);
    border: 1px solid rgba(142, 142, 147, 0.18);
}
.esim-status-info.esim-expired i {
    color: #8E8E93;
}

/* Бейдж "Удалена" сверху карточки — красный точкой */
.st-deleted .status-dot {
    background: var(--danger) !important;
}
.st-deleted {
    color: var(--danger) !important;
}

.action-btn { width: 100%; padding: 14px; border-radius: 14px; font-size: 14px; font-weight: 600; border: none; cursor: pointer; transition: transform 0.2s, opacity 0.2s; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.action-btn:active { transform: scale(0.98); opacity: 0.9; }

.btn-kaspi { background: #f14635; color: white; }
.btn-halyk { background: var(--primary); color: white; border: 1px solid #37c400; }
.btn-blue { background: var(--primary); color: white; }
.btn-black { background: #000; color: white; }
.btn-light { background: #fff; border: 1px solid #E5E5EA; color: #000; }

.login-card { background: white; border-radius: 24px; padding: 30px 20px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.iti { width: 100%; margin-bottom: 15px; }
.iti__flag { background-image: url("https://cdn.jsdelivr.net/npm/intl-tel-input@18.2.1/build/img/flags.png"); }
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { .iti__flag { background-image: url("https://cdn.jsdelivr.net/npm/intl-tel-input@18.2.1/build/img/flags@2x.png"); } }
#phoneInput { width: 100%; padding: 12px; padding-left: 50px; border: 1px solid #E5E5EA; border-radius: 12px; font-size: 16px; background: #F2F2F7; transition: 0.3s; outline: none; }
#phoneInput.bg-green-50\/50 { background: rgba(52, 199, 89, 0.1); border-color: var(--success); }
.hidden { display: none !important; }
#valid-msg { color: var(--success); font-size: 13px; margin-top: -10px; margin-bottom: 10px; text-align: left; padding-left: 10px; }
#error-msg { color: var(--danger); font-size: 13px; margin-top: -10px; margin-bottom: 10px; text-align: left; padding-left: 10px; }
.btn-login { width: 100%; padding: 14px; border-radius: 14px; background: #000; color: white; font-weight: 600; border: none; font-size: 16px; transition: 0.2s; }
.btn-login:disabled { background: #ccc; cursor: not-allowed; }
.not-found-alert { background: #FFF4E5; color: #FF9F0A; padding: 10px; border-radius: 12px; font-size: 13px; font-weight: 500; margin-bottom: 15px; text-align: left; display: flex; align-items: center; gap: 10px; }

/* 🔧 Был .modal-backdrop — переименован в #backdrop чтобы Bootstrap 5.3 не захватывал стиль.
   Оставлен старый класс на случай других элементов в проекте, но #backdrop — главный селектор. */
.modal-backdrop, #backdrop { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); z-index: 999; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; backdrop-filter: blur(5px); }
.modal-backdrop.open, #backdrop.open { opacity: 1; pointer-events: auto; }

/* 🔧 КРИТИЧНЫЙ ФИКС КОНФЛИКТА С BOOTSTRAP 5.3
   Bootstrap определяет .modal-backdrop с background-color: var(--bs-backdrop-bg) = #000
   и opacity по умолчанию = 1, что делает его непрозрачным чёрным на весь экран.
   Эти правила с #backdrop (id-селектор = более высокая специфичность) гарантированно перекрывают Bootstrap. */
#backdrop {
    background: rgba(0, 0, 0, 0.4) !important;
    background-color: rgba(0, 0, 0, 0.4) !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
#backdrop.open {
    opacity: 1 !important;
    pointer-events: auto !important;
}
.universal-modal { position: fixed; background: #F2F2F7; z-index: 1000; display: flex; flex-direction: column; box-shadow: 0 10px 50px rgba(0,0,0,0.2); transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1); overflow: hidden; }
@media (max-width: 767px) { .universal-modal { bottom: 0; left: 0; width: 100%; height: auto; max-height: 85vh; border-radius: 28px 28px 0 0; transform: translateY(100%); } .universal-modal.open { transform: translateY(0); } .drag-handle { width: 40px; height: 5px; background: #D1D1D6; border-radius: 10px; margin: 15px auto 5px; flex-shrink: 0; } }
@media (min-width: 768px) { .universal-modal { top: 50%; left: 50%; width: 420px; height: auto; max-height: 90vh; border-radius: 24px; transform: translate(-50%, -40%) scale(0.95); opacity: 0; pointer-events: none; } .universal-modal.open { transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: auto; } .drag-handle { display: none; } }
.modal-content-scroll { padding: 20px 25px 40px; overflow-y: auto; max-height: 100%; }
.close-btn-round { position: absolute; top: 15px; right: 15px; width: 32px; height: 32px; background: #E5E5EA; border-radius: 50%; border: none; color: #555; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10; }
.detail-white-card { background: white; border-radius: 20px; padding: 25px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.03); margin-bottom: 15px; }

.fade-in { animation: fadeIn 0.5s ease forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.pkg-item { padding: 0px 0; }
.pkg-item.expired-pkg { opacity: 0.6; filter: grayscale(1); }
.pkg-header-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.pkg-name { font-weight: 700; font-size: 14px; color: #1D1D1F; display: flex; align-items: center; gap: 6px; }
.pkg-badge { padding: 2px 6px; border-radius: 4px; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.badge-active { background: #E8F5E9; color: var(--success); }
.badge-new { background: #E8F2FF; color: var(--primary); }
.badge-queue { background: #FFF3E0; color: var(--warning); }
.badge-history { background: #F2F2F7; color: #8E8E93; }


/* ════════════════════════════════════════════════════════════════════
/* ════════════════════════════════════════════════════════════════════
   ▼▼▼ iOS 26 MODERN UPGRADE — добавлено снизу, не ломает старое ▼▼▼
   ════════════════════════════════════════════════════════════════════ */
   ════════════════════════════════════════════════════════════════════ */

/* ─── 1. Liquid Glass — переопределение order-card на настоящий iOS 26 стиль ─── */
.order-card {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 0.5px solid rgba(255, 255, 255, 0.8);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(0, 0, 0, 0.04),
        0 8px 32px rgba(0, 0, 0, 0.06),
        0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s;
    /* 🔧 Animation cardSlideIn УБРАНА чтобы исключить риск что карточки остаются с opacity:0 */
}
.order-card:active {
    transform: scale(0.985);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        0 4px 16px rgba(0, 0, 0, 0.05);
}

/* ─── 2. Premium-Active карточка ───
   Активная eSIM с реальным трафиком получает выделенный стиль:
   • тонкая цветная полоска слева (accent-stripe)
   • лёгкий голубоватый градиент в фоне
   • большая цифра остатка трафика вместо цены
   • days-pill в meta-строке */
.order-card.premium-active {
    background:
       linear-gradient(135deg, rgb(255 255 255 / 84%) 0%, rgb(255 255 255) 100%);
    border: 1px solid rgba(0, 122, 255, 0.18);
    box-shadow:
        0 8px 28px -8px rgba(0, 122, 255, 0.20),
        0 1px 3px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}
.order-card.premium-active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    bottom: 16px;
    width: 4px;
    background: linear-gradient(180deg, var(--success), var(--primary));
    border-radius: 0 4px 4px 0;
    box-shadow: 0 0 12px rgba(52, 199, 89, 0.3);
}

/* Days-pill встраивается в meta-строку — компактнее */
.card-meta .days-pill {
    margin-left: 6px;
    padding: 2px 8px;
    font-size: 10px;
}
.card-meta .days-pill-num {
    font-size: 11px;
}


/* ─── 3. Кольцевой прогресс (Activity-style) ─── */
.progress-ring {
    position: relative;
    width: 92px;
    height: 92px;
    flex-shrink: 0;
}
.progress-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}
.progress-ring-bg {
    fill: none;
    stroke: rgba(0, 0, 0, 0.07);
    stroke-width: 8;
}
.progress-ring-fg {
    fill: none;
    stroke: var(--success);
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s cubic-bezier(0.4, 0, 0.2, 1), stroke 0.3s;
    filter: drop-shadow(0 0 6px rgba(52, 199, 89, 0.4));
}
.progress-ring-fg.medium  { stroke: var(--warning); filter: drop-shadow(0 0 6px rgba(255, 159, 10, 0.4)); }
.progress-ring-fg.high    { stroke: var(--danger);  filter: drop-shadow(0 0 6px rgba(255, 59, 48, 0.4)); }
.progress-ring-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.progress-ring-percent {
    font-size: 22px;
    font-weight: 800;
    color: #1D1D1F;
    line-height: 1;
    letter-spacing: -0.8px;
}
.progress-ring-label {
    font-size: 9px;
    color: #86868b;
    margin-top: 3px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-weight: 700;
}

/* ─── 4. Days Countdown Pill ─── */
.days-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(52, 199, 89, 0.13);
    color: var(--success);
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    transition: background 0.3s, color 0.3s;
}
.days-pill.warning {
    background: rgba(255, 159, 10, 0.14);
    color: var(--warning);
}
.days-pill.critical {
    background: rgba(255, 59, 48, 0.14);
    color: var(--danger);
    animation: pillPulse 2s infinite;
}
.days-pill.expired {
    background: rgba(0, 0, 0, 0.06);
    color: #8E8E93;
}
@keyframes pillPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.85; transform: scale(0.97); }
}
.days-pill-icon { font-size: 11px; }
.days-pill-num  { font-size: 13px; font-weight: 800; }

/* ─── 5. Bento Stats Grid (2×2) ─── */
.bento-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
}
.bento-tile {
    background: rgba(0, 0, 0, 0.035);
    border-radius: 14px;
    padding: 12px 14px;
    transition: background 0.2s, transform 0.15s;
}
.bento-tile.full-width { grid-column: 1 / -1; }
.bento-tile.accent {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.10), rgba(88, 86, 214, 0.07));
}
.bento-tile.danger-tile {
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.09), rgba(255, 159, 10, 0.06));
}
.bento-tile-label {
    font-size: 10px;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    margin-bottom: 4px;
}
.bento-tile-value {
    font-size: 18px;
    font-weight: 800;
    color: #1D1D1F;
    letter-spacing: -0.5px;
    line-height: 1.1;
}
.bento-tile-value.danger { color: var(--danger); }
.bento-tile-value.warning { color: var(--warning); }
.bento-tile-sub {
    font-size: 10px;
    color: #86868b;
    margin-top: 3px;
    font-weight: 500;
}

/* ─── 6. Адаптивный smart-progress ─── */
.smart-progress {
    height: 10px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
    margin: 8px 0;
}
.smart-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #34C759 0%, #5AC8FA 100%);
    border-radius: 999px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1), background 0.4s;
    position: relative;
    overflow: hidden;
}
.smart-progress-fill.medium {
    background: linear-gradient(90deg, #FFB84D 0%, #FF9500 100%);
}
.smart-progress-fill.high {
    background: linear-gradient(90deg, #FF6B5C 0%, #FF3B30 100%);
}
.smart-progress-fill.critical {
    background: linear-gradient(90deg, #FF3B30 0%, #FF453A 100%);
    animation: criticalPulse 1.5s infinite;
}
.smart-progress-fill.muted {
    background: #C7C7CC;
}
/* 🆕 eSIM удалена с устройства — красный прогресс с пульсирующей анимацией */
.smart-progress-fill.progress-deleted {
    background: linear-gradient(90deg, #FF3B30 0%, #FF6B5C 50%, #FF3B30 100%);
    background-size: 200% 100%;
    animation: progressDeletedPulse 2s infinite ease-in-out;
}
@keyframes progressDeletedPulse {
    0%, 100% {
        background-position: 0% 50%;
        opacity: 1;
    }
    50% {
        background-position: 100% 50%;
        opacity: 0.75;
    }
}
.smart-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 30px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: smartShine 2.5s infinite;
}
@keyframes smartShine {
    0%   { transform: translateX(-200%); }
    100% { transform: translateX(700%); }
}
@keyframes criticalPulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.78; }
}

/* ─── 7. Modern Skeleton Shimmer + Haptic feedback ─── */
@keyframes shimmerModern {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* 🆕 SKELETON-РЕЖИМ — placeholder для карточки пока загружаются данные iccid.php */
.sk-line {
    background: linear-gradient(90deg, rgba(0,0,0,0.06) 25%, rgba(0,0,0,0.10) 50%, rgba(0,0,0,0.06) 75%);
    background-size: 200% 100%;
    animation: skShimmer 1.4s infinite ease-in-out;
    border-radius: 6px;
    display: inline-block;
}
@keyframes skShimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Skeleton для статуса справа (под ценой) */
.sk-status {
    width: 70px;
    height: 11px;
    margin-top: 6px;
    border-radius: 4px;
}

/* Карточка-плейсхолдер пакета */
.sk-pkg-card {
    background: rgba(0, 122, 255, 0.04);
    border: 1px solid rgba(0, 122, 255, 0.10);
    border-radius: 16px;
    padding: 14px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.sk-pkg-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.sk-pkg-title {
    width: 110px;
    height: 16px;
}
.sk-pkg-badge {
    width: 60px;
    height: 18px;
    border-radius: 6px;
}
.sk-pkg-stats-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}
.sk-pkg-stat-left {
    width: 130px;
    height: 12px;
}
.sk-pkg-stat-right {
    width: 80px;
    height: 12px;
}
.sk-pkg-bar {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    margin-bottom: 10px;
}
.sk-pkg-date {
    width: 140px;
    height: 11px;
}

/* Карточка в режиме загрузки — лёгкий "wait" эффект */
.order-card.is-loading {
    pointer-events: none;
}
.order-card.is-loading .card-meta,
.order-card.is-loading .card-title-row {
    opacity: 0.7;
}

/* Обновлённый QR skeleton с тем же современным шиммером */
.qr-skeleton {
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.04) 0%,
        rgba(0, 0, 0, 0.10) 50%,
        rgba(0, 0, 0, 0.04) 100%
    ) !important;
    background-size: 200% 100% !important;
    animation: shimmerModern 1.5s infinite ease-in-out !important;
}

/* Haptic-style press feedback для всех кнопок */
.action-btn,
.btn-install,
.btn-quick-card,
.btn-quick-apple,
.pkg-row,
.btn-topup-block {
    transition:
        transform 0.12s cubic-bezier(0.4, 0, 0.2, 1),
        opacity   0.12s,
        box-shadow 0.15s !important;
}
.action-btn:active,
.btn-install:active,
.btn-quick-card:active,
.btn-quick-apple:active {
    transform: scale(0.96) !important;
    opacity: 0.92 !important;
}
.btn-topup-block:active {
    transform: scale(0.97) !important;
}

/* ════════════════════════════════════════════════════════════════════
/* ─── 8. Группировка пакетов (Multi-Package layout) ─── */
.pkg-group-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    color: #1D1D1F;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin: 16px 0 10px 0;
    padding-left: 4px;
}
.pkg-group-header:first-child {
    margin-top: 4px;
}
.pkg-group-count {
    background: rgba(0, 122, 255, 0.10);
    color: var(--primary);
    padding: 1px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    margin-left: auto;
}

/* Активный пакет — карточка с фоном-акцентом */
.pkg-active-card {
    background: rgba(0, 122, 255, 0.04);
    border: 1px solid rgba(0, 122, 255, 0.10);
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 10px;
}
.pkg-active-card .pkg-header-row { margin-bottom: 10px; }

/* Очередной пакет — расширенная карточка с прогресс-баром "зарезервировано".
   Сделана заметной, потому что располагается выше активного — клиент должен сразу видеть,
   что у него ещё есть пакеты в запасе и не писать в поддержку. */
.pkg-queued-card {
    background: linear-gradient(135deg, rgba(48, 176, 199, 0.06) 0%, rgba(90, 200, 250, 0.04) 100%);
    border: 1px solid rgba(48, 176, 199, 0.22);
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 8px;
    position: relative;
    overflow: hidden;
}
.pkg-queued-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    bottom: 16px;
    width: 3px;
    background: linear-gradient(180deg, var(--teal), #5AC8FA);
    border-radius: 0 3px 3px 0;
}
.pkg-queued-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.pkg-queued-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #1D1D1F;
}
/* Подсказка про автопродление — общая для всей группы queued */
.pkg-group-hint {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: rgba(48, 176, 199, 0.08);
    border: 1px solid rgba(48, 176, 199, 0.18);
    border-radius: 12px;
    padding: 10px 12px;
    margin: 6px 0 14px 0;
    font-size: 11px;
    line-height: 1.4;
    color: #1D1D1F;
}
.pkg-group-hint i {
    color: var(--teal);
    font-size: 13px;
    margin-top: 1px;
}

/* Мини-строка пакета (для queued и history групп) */
.pkg-mini-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.025);
    border-radius: 12px;
    margin-bottom: 6px;
}
.pkg-mini-row.history {
    background: rgba(0, 0, 0, 0.02);
    opacity: 0.85;
}
.pkg-mini-row.queued {
    background: rgba(48, 176, 199, 0.06);
    border: 1px solid rgba(48, 176, 199, 0.14);
}
.pkg-mini-icon {
    font-size: 14px;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}
.pkg-mini-info {
    flex: 1;
    min-width: 0;
}
.pkg-mini-name {
    font-size: 13px;
    font-weight: 700;
    color: #1D1D1F;
    line-height: 1.2;
}
.pkg-mini-meta {
    font-size: 10px;
    color: #86868b;
    margin-top: 2px;
    font-weight: 500;
}
.pkg-mini-badge {
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    flex-shrink: 0;
    letter-spacing: 0.3px;
}

/* ════════════════════════════════════════════════════════════════════
   ▲▲▲ Конец iOS 26 UPGRADE ▲▲▲
   ════════════════════════════════════════════════════════════════════ */


/* ════════════════════════════════════════════════════════════════════
   🆕 ICCID SKELETON & FADE-IN
   Блоки которые зависят от iccid.php (срок eSIM + кнопка «Докупить»)
   сначала показываются как shimmer-плейсхолдер, потом после получения
   данных плавно появляются с fade-in анимацией.
   ════════════════════════════════════════════════════════════════════ */

/* Skeleton для информера срока жизни eSIM */
.esim-lifetime-skeleton {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: 12px;
    margin-top: 12px;
    margin-bottom: 4px;
    border: 1px solid rgba(48, 176, 199, 0.15);
    background: rgba(48, 176, 199, 0.04);
}
.esim-lifetime-skeleton .sk-line {
    background: linear-gradient(90deg, rgba(48, 176, 199, 0.10) 25%, rgba(48, 176, 199, 0.22) 50%, rgba(48, 176, 199, 0.10) 75%);
    background-size: 200% 100%;
    animation: skShimmer 1.4s infinite ease-in-out;
    border-radius: 6px;
}
.sk-lifetime-icon {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    margin-top: 2px;
    flex-shrink: 0;
}
.esim-lifetime-skeleton-text {
    flex: 1;
    min-width: 0;
}
.sk-lifetime-title {
    display: block;
    width: 75%;
    height: 13px;
    margin-bottom: 5px;
    border-radius: 4px;
}
.sk-lifetime-desc {
    display: block;
    width: 100%;
    height: 11.5px;
    border-radius: 4px;
}

/* Skeleton для inline Apple Pay-кнопки — пока widget грузится, клиент видит чёрный
   rounded bar похожий на настоящую кнопку (та же высота, тот же радиус). */
.ap-inline-slot { min-height: 40px; display: flex; align-items: center; }
.ap-inline-skeleton {
    width: 100%;
    height: 40px;
    border-radius: 20px;
    background: linear-gradient(90deg, #1a1a1c 0%, #2c2c2e 50%, #1a1a1c 100%);
    background-size: 200% 100%;
    animation: skShimmer 1.2s infinite ease-in-out;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    position: relative;
}
.ap-inline-skeleton::before {
    content: '\f179'; /* Apple icon из Font Awesome — лёгкий намёк что грузится Apple Pay */
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Brands', sans-serif;
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.45);
    font-size: 14px;
}

/* Skeleton для блока «Докупить трафик» */
.topup-block-skeleton {
    width: 100%;
    margin-top: 15px;
    margin-bottom: 15px;
}
.topup-block-skeleton .sk-topup-bar {
    width: 100%;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(90deg, rgba(0, 122, 255, 0.08) 25%, rgba(0, 122, 255, 0.16) 50%, rgba(0, 122, 255, 0.08) 75%);
    background-size: 200% 100%;
    animation: skShimmer 1.4s infinite ease-in-out;
}

/* Fade-in для блоков, обновлённых после получения iccid.php.
   Контейнер (#lifetime-${id} / #topup-${id}) получает класс .iccid-fade-in
   через applyIccidFadeIn() — анимация плавно подменяет shimmer на реальные данные. */
.iccid-fade-in {
    animation: iccidFadeIn 0.45s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes iccidFadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
        filter: blur(2px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* === Kaspi-оплата (ApiPay) === */
.kaspi-pay { text-align: center; padding-top: 8px; }
.kaspi-pay-emoji { font-size: 3.5rem; margin-bottom: 5px; }
.kaspi-pay-title { margin-bottom: 8px; font-size: 22px; font-weight: 700; color: var(--text-dark); }
.kaspi-pay-sub { font-size: 13px; color: #86868b; margin-bottom: 15px; }
.kaspi-pay-sub b { color: var(--text-dark); }
.kaspi-pay-desc { font-size: 14px; line-height: 1.5; color: var(--text-dark); margin-bottom: 0; }
.kaspi-pay-desc b { color: var(--text-dark); }

.kaspi-label { display: block; font-size: 13px; color: #86868b; margin-bottom: 8px; font-weight: 500; }
.kaspi-phone-input { width: 100%; font-size: 18px; font-weight: 600; padding: 14px; border: 1px solid #e5e5ea; border-radius: 12px; background: #f9f9fb; box-sizing: border-box; outline: none; color: var(--text-dark); transition: border-color 0.15s, background 0.15s; }
.kaspi-phone-input:focus { border-color: var(--primary); background: #fff; }
.kaspi-phone-error { display: none; color: var(--danger); font-size: 13px; margin-top: 8px; }
.kaspi-phone-error.is-visible { display: block; }
.kaspi-hint { font-size: 12px; color: #86868b; margin-top: 12px; line-height: 1.5; }

.kaspi-spinner { font-size: 32px; color: var(--primary); margin-top: 15px; }
.kaspi-status { font-size: 13px; color: #86868b; margin-top: 15px; margin-bottom: 4px; }
.kaspi-order-line { font-size: 12px; color: #86868b; margin-bottom: 0; }
.kaspi-order-line b { color: var(--text-dark); }
.kaspi-error-line { display: none; color: var(--danger); margin-top: 15px; font-size: 14px; }
.kaspi-error-line.is-visible { display: block; }

.kaspi-success-check { font-size: 4rem; margin-bottom: 10px; color: #34c759; line-height: 1; }

.kaspi-retry-notice { display: flex; align-items: flex-start; gap: 10px; background: rgba(255, 159, 10, 0.08); border: 1px solid rgba(255, 159, 10, 0.22); border-radius: 14px; padding: 12px 14px; margin-bottom: 12px; text-align: left; }
.kaspi-retry-notice i { font-size: 20px; color: var(--warning); margin-top: 2px; flex-shrink: 0; }
.kaspi-retry-title { font-size: 13px; font-weight: 700; color: #1D1D1F; margin-bottom: 2px; }
.kaspi-retry-desc { font-size: 12px; color: #86868b; line-height: 1.4; }

/* === Выбор способа оплаты (PAY-экран) === */
.btn-apple-pay { background: #000; color: #fff; font-weight: 600; letter-spacing: -0.2px; }
.btn-apple-pay i { font-size: 19px; margin-right: 6px; }

/* === Кнопки оплаты прямо на карточке заказа (PENDING) === */
.card-pay-grid { display: grid; gap: 8px; margin-bottom: 6px; }
.card-pay-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
.card-pay-grid-2 { grid-template-columns: 1fr 1fr; }
.card-pay-btn { padding: 11px 6px; border: none; border-radius: 12px; font-size: 12px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 5px; transition: transform 0.15s, opacity 0.15s; box-shadow: 0 2px 8px rgba(0,0,0,0.06); white-space: nowrap; }
.card-pay-btn:active { transform: scale(0.96); opacity: 0.92; }
.card-pay-btn i { font-size: 14px; }
.card-pay-btn-kaspi { background: #f14635; color: #fff; }
.card-pay-btn-card  { background: var(--primary, #0071e3); color: #fff; }

/* Apple Pay slot в grid'е card-pay-grid — приводим native кнопку к стилю остальных card-pay-btn */
.card-pay-apple-slot { width: 100%; min-height: 40px; background: #000; border-radius: 12px; position: relative; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.card-pay-apple-slot .ap-inline-skeleton { width: 100%; height: 40px; background: #000; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.card-pay-apple-slot .ap-inline-skeleton::before { content: "\f179"; font-family: "Font Awesome 6 Brands", "FontAwesome"; color: rgba(255,255,255,0.5); font-size: 18px; animation: appleSkeletonPulse 1.2s ease-in-out infinite; }
@keyframes appleSkeletonPulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 0.95; } }
.card-pay-apple-slot apple-pay-button { width: 100% !important; min-width: 100% !important; height: 40px !important; --apple-pay-button-height: 40px !important; --apple-pay-button-border-radius: 12px !important; }
.card-pay-more { background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(0, 0, 0, 0.08); color: #1D1D1F; font-size: 13px; font-weight: 600; padding: 11px 14px; border-radius: 12px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; margin-top: 2px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03); transition: transform 0.15s, background 0.2s, box-shadow 0.2s; }
.card-pay-more:active { transform: scale(0.97); background: rgba(255, 255, 255, 0.95); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02); }
.card-pay-more-label { display: flex; align-items: center; gap: 10px; letter-spacing: -0.1px; }
.card-pay-more-label i { font-size: 13px; color: #8E8E93; }
.card-pay-more-chevron { font-size: 11px; color: #8E8E93; transition: transform 0.2s; }
.card-pay-more:active .card-pay-more-chevron { transform: translateX(2px); }

