:root {
    --bg-dark: #0a0e17;
    --card-bg: rgba(22, 30, 49, 0.85);
    --card-border: rgba(255, 255, 255, 0.1);
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --primary-glow: rgba(59, 130, 246, 0.35);
    --accent: #10b981;
    --accent-hover: #059669;
    --danger: #ef4444;
    --warning: #f59e0b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.12);
    --font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: 15px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-family);
    direction: rtl;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    -webkit-text-size-adjust: 100%;
}

/* Ambient glow */
.background-glow {
    position: fixed;
    top: -15%;
    right: -10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, rgba(10, 14, 23, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.container {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    padding: 12px 14px;
    position: relative;
    z-index: 1;
    flex: 1;
}

/* Header */
.main-header {
    width: 100%;
    max-width: 650px;
    margin: 12px auto 0;
    padding: 0 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
    gap: 8px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.logo-icon {
    font-size: 1.5rem;
    background: rgba(59, 130, 246, 0.18);
    padding: 6px 10px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.logo-area div {
    min-width: 0;
}

.main-header h1 {
    font-size: 1.05rem;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.subtitle {
    font-size: 0.76rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.support-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.support-btn:hover, .support-btn:active {
    background: rgba(59, 130, 246, 0.25);
    border-color: var(--primary);
}

/* Glass Card */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 18px 16px;
    margin-bottom: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.card-title {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

/* Search Box */
.search-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.search-box input {
    width: 100%;
    height: 48px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0 14px;
    color: var(--text-main);
    font-size: 16px; /* Prevents auto zoom on iOS */
    font-family: inherit;
    transition: all 0.2s;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

/* Lookup Error & Visual Guide */
.help-toggle-btn {
    background: none;
    border: none;
    color: #60a5fa;
    font-size: 0.82rem;
    font-family: inherit;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 4px;
    padding: 4px 0;
    transition: color 0.2s;
}

.help-toggle-btn:hover {
    color: #93c5fd;
}

.lookup-help-guide {
    margin-top: 14px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 14px;
    padding: 16px;
    animation: fadeInGuide 0.3s ease-out;
}

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

.help-guide-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 8px;
}

.help-guide-icon {
    font-size: 1.25rem;
}

.help-guide-header h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #60a5fa;
    margin: 0;
}

.help-guide-desc {
    font-size: 0.86rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 10px;
}

.help-guide-img-wrapper {
    text-align: center;
    margin: 12px 0;
    background: rgba(0, 0, 0, 0.35);
    padding: 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.help-guide-img {
    max-width: 100%;
    width: 380px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
    display: block;
    margin: 0 auto;
}

.img-caption {
    display: block;
    font-size: 0.82rem;
    color: #fde68a;
    margin-top: 8px;
    font-weight: 600;
    line-height: 1.5;
}

.help-guide-tips {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.tip-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.82rem;
    color: #cbd5e1;
    line-height: 1.5;
    background: rgba(255, 255, 255, 0.04);
    padding: 8px 12px;
    border-radius: 8px;
}

.tip-item strong {
    color: #f8fafc;
}

.tip-icon {
    flex-shrink: 0;
    font-size: 1rem;
}

/* Buttons */
.primary-btn {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    touch-action: manipulation;
}

.primary-btn:active {
    transform: scale(0.98);
    opacity: 0.9;
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
}

.secondary-btn:active, .secondary-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.text-btn {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: #60a5fa;
    cursor: pointer;
    font-size: 0.8rem;
    font-family: inherit;
    padding: 5px 10px;
    border-radius: 8px;
    transition: all 0.2s;
}

.text-btn:hover, .text-btn:active {
    background: var(--primary);
    color: #fff;
}

/* Account Info Details */
.account-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    gap: 10px;
}

.account-header > div {
    min-width: 0;
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    margin-bottom: 3px;
}

.badge.danger {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.account-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    word-break: break-all;
    overflow-wrap: anywhere;
    line-height: 1.3;
}

/* Traffic Meter */
.traffic-meter {
    margin-bottom: 16px;
}

.meter-bar-bg {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 6px;
}

.meter-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 5px;
    transition: width 0.4s ease;
}

.meter-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    background: rgba(0, 0, 0, 0.25);
    padding: 12px;
    border-radius: 12px;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.info-val {
    font-size: 1rem;
    font-weight: 700;
}

.text-success { color: #34d399; }
.danger-text { color: #f87171; }

/* Plans Grid */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.plan-card {
    background: rgba(255, 255, 255, 0.04);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.plan-card:active {
    transform: scale(0.97);
}

.plan-card.selected {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.15);
    box-shadow: 0 0 12px var(--primary-glow);
}

.plan-gb {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2px;
}

.plan-title {
    font-size: 0.76rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.plan-price {
    font-size: 0.92rem;
    font-weight: 700;
    color: #60a5fa;
}

/* Custom GB Box */
.custom-gb-box {
    background: rgba(0, 0, 0, 0.25);
    border: 1px dashed var(--border-color);
    border-radius: 12px;
    padding: 12px;
}

.custom-gb-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.custom-input-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.custom-input-group input {
    flex: 1;
    min-width: 110px;
    height: 44px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    padding: 0 12px;
}

.custom-input-group .unit {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
}

.custom-price-tag {
    width: 100%;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.25);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.88rem;
    text-align: right;
    margin-top: 4px;
}

.custom-price-tag strong {
    color: #60a5fa;
    font-size: 1.05rem;
}

/* Summary Banner */
.summary-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.highlight-price {
    font-size: 1.25rem;
    color: #34d399;
}

/* Cards selector */
.cards-selector {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    overflow-x: auto;
}

/* Bank Card Display */
.bank-card-display {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 16px 14px;
    margin-bottom: 18px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    position: relative;
}

.card-bank-name {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 10px;
}

.card-num-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: nowrap;
}

.card-number {
    font-family: monospace;
    font-size: clamp(1rem, 4.4vw, 1.3rem);
    font-weight: 700;
    letter-spacing: 1px;
    direction: ltr;
    color: #f8fafc;
    word-break: keep-all;
    white-space: nowrap;
}

.copy-btn {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 6px 12px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.82rem;
    font-family: inherit;
    flex-shrink: 0;
    transition: all 0.2s;
}

.copy-btn:active {
    background: var(--primary);
}

.card-holder {
    font-size: 0.85rem;
    color: #cbd5e1;
}

/* Pay Form & Attention Box */
.attention-box {
    background: linear-gradient(145deg, rgba(245, 158, 11, 0.09) 0%, rgba(217, 119, 6, 0.04) 100%);
    border: 2px solid rgba(245, 158, 11, 0.4);
    border-radius: 14px;
    padding: 16px;
    margin-top: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.attention-box:hover, .attention-box:focus-within {
    border-color: rgba(245, 158, 11, 0.7);
    box-shadow: 0 4px 25px rgba(245, 158, 11, 0.15);
}

.attention-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.attention-badge {
    align-self: flex-start;
    background: linear-gradient(90deg, #f59e0b, #d97706);
    color: #0f172a;
    font-size: 0.76rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
    animation: badgeBounce 2.5s infinite ease-in-out;
}

@keyframes badgeBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

.attention-label {
    display: block;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #fde68a !important;
    line-height: 1.5;
}

.digits-input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
    width: 100%;
}

.pulse-input {
    width: 100%;
    height: 52px !important;
    background: rgba(15, 23, 42, 0.92) !important;
    border: 2px solid #f59e0b !important;
    border-radius: 12px !important;
    color: #fbbf24 !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    font-family: monospace, sans-serif !important;
    letter-spacing: 6px !important;
    text-align: center !important;
    animation: attentionPulse 2s infinite ease-in-out;
    transition: all 0.25s ease;
}

.pulse-input::placeholder {
    color: rgba(251, 191, 36, 0.45) !important;
    font-weight: 500;
    letter-spacing: 3px;
    font-size: 16px;
}

.pulse-input:focus {
    border-color: #fbbf24 !important;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.8) !important;
    outline: none !important;
    animation: none;
    background: #0f172a !important;
}

@keyframes attentionPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5);
        border-color: #f59e0b;
    }
    50% {
        box-shadow: 0 0 16px 4px rgba(245, 158, 11, 0.65);
        border-color: #fde68a;
    }
    100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5);
        border-color: #f59e0b;
    }
}

.pay-btn {
    width: 100%;
    height: 52px;
}

.help-text {
    font-size: 0.82rem;
    color: #cbd5e1;
    line-height: 1.5;
    margin-top: 6px;
}

.help-text strong {
    color: #f59e0b;
}

.help-text u {
    text-decoration-color: #f59e0b;
    text-underline-offset: 3px;
}

/* Alerts */
.alert {
    padding: 10px 14px;
    border-radius: 10px;
    margin-top: 12px;
    font-size: 0.85rem;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid var(--danger);
    color: #fca5a5;
}

.alert-success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid var(--accent);
    color: #6ee7b7;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 14px;
}

.modal-content {
    width: 100%;
    max-width: 400px;
    text-align: center;
    padding: 24px 18px;
    border-radius: 18px;
}

.spinner-large {
    width: 44px;
    height: 44px;
    border: 4px solid rgba(255, 255, 255, 0.12);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s infinite linear;
    margin: 0 auto 16px;
}

.btn-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s infinite linear;
    display: inline-block;
}

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

.modal-title {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.modal-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.countdown-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid var(--warning);
    color: #fbbf24;
    padding: 5px 12px;
    border-radius: 20px;
    font-family: monospace;
    font-size: 0.92rem;
    margin-bottom: 12px;
}

.modal-subtext {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 18px;
}

.success-icon {
    font-size: 2.6rem;
    color: #34d399;
    background: rgba(16, 185, 129, 0.15);
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    margin: 0 auto 14px;
}

.info-box-success {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 18px;
    font-size: 0.85rem;
}

/* Persistent Active Order Banner */
.active-order-box {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.16) 0%, rgba(217, 119, 6, 0.08) 100%);
    border: 2px solid #f59e0b;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.2);
    animation: fadeInSlide 0.3s ease-out;
}

.active-order-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.active-order-icon {
    font-size: 1.8rem;
    animation: badgeBounce 2s infinite ease-in-out;
    flex-shrink: 0;
}

.active-order-info h4 {
    margin: 0 0 4px 0;
    color: #fde68a;
    font-size: 1rem;
    font-weight: 800;
}

.active-order-info p {
    margin: 0;
    font-size: 0.85rem;
    color: #cbd5e1;
    line-height: 1.5;
}

.active-order-info strong {
    color: #fbbf24;
}

.active-order-timer {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.82rem;
    color: #f59e0b;
    background: rgba(0, 0, 0, 0.3);
    padding: 3px 8px;
    border-radius: 6px;
    font-family: monospace;
}

.active-order-actions {
    margin-top: 12px;
}

.sm-btn {
    height: 40px !important;
    font-size: 0.88rem !important;
}

/* Transactions History List */
.history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

.history-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.2s ease;
}

.history-item.is-pending {
    border-color: rgba(245, 158, 11, 0.4);
    background: rgba(245, 158, 11, 0.04);
}

.history-item.is-completed {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.03);
}

.history-item.is-expired {
    border-color: rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.15);
    opacity: 0.85;
}

.history-main-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.history-order-id {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.history-id-tag {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.history-id-tag code {
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 6px;
    border-radius: 6px;
    font-family: monospace;
    color: #e2e8f0;
    font-weight: 700;
}

.history-gb-tag {
    font-size: 0.95rem;
    color: #fff;
}

.history-gb-tag strong {
    color: #60a5fa;
}

.history-meta {
    font-size: 0.78rem;
    color: #94a3b8;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    background: rgba(0, 0, 0, 0.2);
    padding: 6px 10px;
    border-radius: 8px;
}

.history-meta strong {
    color: #f1f5f9;
}

.history-footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 0.75rem;
}

.history-note {
    color: #94a3b8;
}

.history-badge {
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.history-badge.completed {
    background: rgba(16, 185, 129, 0.18);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.history-badge.pending {
    background: rgba(245, 158, 11, 0.18);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.4);
    animation: attentionPulse 2s infinite ease-in-out;
}

.history-badge.expired {
    background: rgba(148, 163, 184, 0.12);
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.history-badge.failed {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.hidden {
    display: none !important;
}

.main-footer {
    text-align: center;
    padding: 18px 14px;
    font-size: 0.78rem;
    color: #64748b;
    border-top: 1px solid var(--card-border);
}

/* Tablet & Desktop adjustments */
@media (min-width: 641px) {
    .search-box {
        flex-direction: row;
    }
    .search-box button {
        width: auto;
        padding: 0 24px;
    }
    .plans-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .digits-input-group {
        flex-direction: row;
    }
    .digits-input-group input {
        width: 170px;
    }
    .pay-btn {
        flex: 1;
    }
}
