/* ============================================
   TekinWiFi - Captive Portal Template
   Light/Dark Mode | Bright & Friendly Design
   ============================================ */

/* ---------- Poppins Font (Local) ---------- */
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins/Poppins-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins/Poppins-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins/Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins/Poppins-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* ---------- CSS Variables: Light Mode (Default) ---------- */
:root {
    /* Primary brand */
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --primary-light: #e0e7ff;
    --primary-soft: #eef2ff;

    /* Accent colors */
    --green: #10b981;
    --green-hover: #059669;
    --green-light: #d1fae5;
    --green-soft: #ecfdf5;
    --orange: #f59e0b;
    --orange-light: #fef3c7;
    --blue: #0ea5e9;
    --blue-light: #e0f2fe;
    --rose: #f43f5e;
    --rose-light: #ffe4e6;

    /* Surfaces */
    --bg-body: #f0f4ff;
    --bg-card: #ffffff;
    --bg-card-hover: #f8faff;
    --bg-input: #f1f5f9;
    --bg-input-focus: #ffffff;

    /* Borders */
    --border: #e2e8f0;
    --border-hover: #cbd5e1;
    --border-focus: var(--primary);

    /* Text */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-white: #ffffff;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
    --shadow-glow-green: 0 8px 30px rgba(16, 185, 129, 0.2);
    --shadow-glow-primary: 0 8px 30px rgba(79, 70, 229, 0.2);

    /* Misc */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Dark Mode Variables ---------- */
[data-theme="dark"] {
    --bg-body: #0f172a;
    --bg-card: #1e293b;
    --bg-card-hover: #253349;
    --bg-input: #334155;
    --bg-input-focus: #1e293b;

    --border: #334155;
    --border-hover: #475569;

    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --primary-light: rgba(79, 70, 229, 0.15);
    --primary-soft: rgba(79, 70, 229, 0.08);
    --green-light: rgba(16, 185, 129, 0.15);
    --green-soft: rgba(16, 185, 129, 0.08);
    --orange-light: rgba(245, 158, 11, 0.15);
    --blue-light: rgba(14, 165, 233, 0.15);
    --rose-light: rgba(244, 63, 94, 0.15);

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.3);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.4);
    --shadow-glow-green: 0 8px 30px rgba(16, 185, 129, 0.15);
    --shadow-glow-primary: 0 8px 30px rgba(79, 70, 229, 0.15);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Poppins', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-body);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background 0.4s ease, color 0.3s ease;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; }

/* ---------- Background Decoration ---------- */
.bg-decoration {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: blobFloat 20s ease-in-out infinite;
}

[data-theme="dark"] .bg-blob {
    opacity: 0.2;
}

.bg-blob--1 {
    width: 500px; height: 500px;
    background: linear-gradient(135deg, #c7d2fe, #a5b4fc);
    top: -200px; right: -100px;
    animation-duration: 25s;
}

.bg-blob--2 {
    width: 400px; height: 400px;
    background: linear-gradient(135deg, #a7f3d0, #6ee7b7);
    bottom: -150px; left: -100px;
    animation-delay: -7s;
    animation-duration: 22s;
}

.bg-blob--3 {
    width: 250px; height: 250px;
    background: linear-gradient(135deg, #fde68a, #fbbf24);
    top: 40%; left: 60%;
    animation-delay: -12s;
    animation-duration: 18s;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ---------- Portal Layout ---------- */
.portal-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.portal-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    min-height: 100vh;
}

.portal-container {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
}

/* ---------- Top Bar (lang + theme) ---------- */
.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    animation: fadeIn 0.6s ease-out;
}

.lang-switcher {
    display: flex;
    gap: 4px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 3px;
    box-shadow: var(--shadow-sm);
}

.lang-btn {
    padding: 5px 14px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn:hover { color: var(--text-primary); }

.lang-btn.active {
    background: var(--primary);
    color: var(--text-white);
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}

/* Theme Toggle */
.theme-toggle {
    width: 42px; height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.theme-toggle:hover {
    border-color: var(--border-hover);
    transform: scale(1.05);
}

.theme-toggle .icon-moon { display: inline; }
.theme-toggle .icon-sun { display: none; }

[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: inline; }

/* ---------- Header ---------- */
.portal-header {
    text-align: center;
    margin-bottom: 28px;
    animation: fadeInDown 0.7s ease-out;
}

.portal-logo {
    width: 120px;
    height: auto;
    margin-bottom: 12px;
    transition: var(--transition);
}

.portal-logo:hover {
    transform: scale(1.04);
}

/* WiFi icon animated */
.wifi-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--primary-soft);
    margin-bottom: 14px;
    position: relative;
}

.wifi-icon-wrap i {
    font-size: 1.5rem;
    color: var(--primary);
    animation: wifiBounce 2s ease-in-out infinite;
}

.wifi-icon-wrap::after {
    content: '';
    position: absolute;
    width: 100%; height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary);
    opacity: 0;
    animation: wifiRing 2s ease-out infinite;
}

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

@keyframes wifiRing {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.5); opacity: 0; }
}

.portal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

.portal-subtitle {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* ---------- Main Card ---------- */
.main-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.7s ease-out;
    transition: background 0.4s ease, border-color 0.3s ease;
}

/* ---------- Service Cards (Free & Premium) ---------- */
.service-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.service-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.service-card:active {
    transform: scale(0.98);
}

/* Free card */
.service-card--free {
    background: var(--green-soft);
    border-color: var(--green-light);
}

.service-card--free:hover {
    border-color: var(--green);
    box-shadow: var(--shadow-glow-green);
    transform: translateY(-3px);
}

.service-card--free .service-icon {
    background: linear-gradient(135deg, var(--green), #34d399);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.service-card--free .service-arrow {
    color: var(--green);
}

/* Premium card */
.service-card--premium {
    background: var(--primary-soft);
    border-color: var(--primary-light);
}

.service-card--premium:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow-primary);
    transform: translateY(-3px);
}

.service-card--premium .service-icon {
    background: linear-gradient(135deg, var(--primary), #818cf8);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.service-card--premium .service-arrow {
    color: var(--primary);
}

.service-icon {
    width: 48px; height: 48px;
    min-width: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.08);
}

.service-content { flex: 1; }

/* Arrow indicator */
.service-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: var(--bg-card);
    font-size: 0.75rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.service-card:hover .service-arrow {
    transform: translateX(3px);
}

.service-title {
    font-size: 1rem;
    font-weight: 650;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-desc {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Badges */
.badge {
    display: inline-flex;
    padding: 2px 8px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-full);
}

.badge--free {
    background: var(--green-light);
    color: var(--green);
}

.badge--popular {
    background: var(--primary-light);
    color: var(--primary);
}

/* ---------- Quick Actions (Promo + Profile) ---------- */
.quick-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.quick-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 10px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
}

.quick-action:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    color: var(--text-primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.quick-action i {
    font-size: 0.9rem;
}

.quick-action--promo i { color: var(--orange); }
.quick-action--profile i { color: var(--blue); }

/* ---------- Connection Status ---------- */
.connection-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--radius-full);
    background: var(--green-soft);
    border: 1px solid var(--green-light);
    font-size: 0.78rem;
    color: var(--green);
    font-weight: 500;
}

.status-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--green);
    position: relative;
}

.status-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--green);
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(2.2); opacity: 0; }
}

/* Back button */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.82rem;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 16px;
    font-weight: 500;
    text-decoration: none;
}

.btn-back:hover { color: var(--primary); }

/* ---------- Free Internet Details ---------- */
.free-info-box {
    padding: 20px;
    background: var(--green-soft);
    border: 1px solid var(--green-light);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.free-info-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--green);
    margin-bottom: 14px;
}

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

.free-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    font-size: 0.83rem;
    color: var(--text-secondary);
}

.free-features li i {
    color: var(--green);
    font-size: 0.7rem;
    width: 14px;
    text-align: center;
}

/* Connect buttons */
.btn-connect {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 15px;
    font-size: 0.95rem;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    color: #fff;
    letter-spacing: 0.2px;
}

.btn-connect:active { transform: scale(0.98); }

.btn-connect--free {
    background: linear-gradient(135deg, var(--green), #34d399);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.25);
}

.btn-connect--free:hover {
    box-shadow: var(--shadow-glow-green);
    transform: translateY(-2px);
}

.btn-connect--premium {
    background: linear-gradient(135deg, var(--primary), #818cf8);
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.25);
}

.btn-connect--premium:hover {
    box-shadow: var(--shadow-glow-primary);
    transform: translateY(-2px);
}

/* ---------- Plan Cards (Plastic Card Style) ---------- */
.section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.section-title i { color: var(--primary); }

.section-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.plan-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

/* Base plastic card */
.plan-card {
    position: relative;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    overflow: hidden;
    border: 3px solid transparent;
    aspect-ratio: 1.7 / 1;
}

.plan-card:hover {
    transform: translateY(-4px);
}

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

.plan-card.selected {
    border-color: rgba(255, 255, 255, 0.6);
}

/* Card background layer */
.plan-card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* Decorative circles */
.plan-card-bg::before {
    content: '';
    position: absolute;
    width: 200px; height: 200px;
    border-radius: 50%;
    top: -80px; right: -50px;
    background: rgba(255, 255, 255, 0.1);
}

.plan-card-bg::after {
    content: '';
    position: absolute;
    width: 140px; height: 140px;
    border-radius: 50%;
    bottom: -50px; left: -30px;
    background: rgba(255, 255, 255, 0.07);
}

/* Card content */
.plan-card-content {
    position: relative;
    z-index: 1;
    padding: 24px 26px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.plan-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* SIM chip */
.plan-chip {
    width: 46px; height: 34px;
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(255,255,255,0.4), rgba(255,255,255,0.15));
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.plan-duration {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    opacity: 0.9;
}

.plan-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.plan-price-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.plan-price-amount {
    font-size: 2.6rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.5px;
}

.plan-price-currency {
    font-size: 0.95rem;
    font-weight: 400;
    opacity: 0.8;
}

.plan-specs {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.plan-specs span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    font-weight: 400;
    opacity: 0.9;
}

.plan-specs span i {
    font-size: 0.8rem;
    opacity: 0.75;
}

/* Popular tag */
.plan-popular-tag {
    position: absolute;
    top: 16px; right: 20px;
    padding: 5px 14px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    border-radius: var(--radius-full);
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ---- Card Color Variants ---- */

/* Teal (1 hour) */
.plan-card--teal .plan-card-bg {
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 50%, #5eead4 100%);
}

.plan-card--teal:hover {
    box-shadow: 0 16px 40px rgba(13, 148, 136, 0.35);
}

.plan-card--teal.selected {
    box-shadow: 0 0 0 2px #0d9488, 0 16px 40px rgba(13, 148, 136, 0.3);
}

/* Indigo (1 day - popular) */
.plan-card--indigo .plan-card-bg {
    background: linear-gradient(135deg, #4338ca 0%, #6366f1 50%, #a5b4fc 100%);
}

.plan-card--indigo:hover {
    box-shadow: 0 16px 40px rgba(79, 70, 229, 0.35);
}

.plan-card--indigo.selected {
    box-shadow: 0 0 0 2px #4338ca, 0 16px 40px rgba(79, 70, 229, 0.3);
}

/* Amber (1 week) */
.plan-card--amber .plan-card-bg {
    background: linear-gradient(135deg, #b45309 0%, #f59e0b 50%, #fcd34d 100%);
}

.plan-card--amber:hover {
    box-shadow: 0 16px 40px rgba(217, 119, 6, 0.35);
}

.plan-card--amber.selected {
    box-shadow: 0 0 0 2px #b45309, 0 16px 40px rgba(217, 119, 6, 0.3);
}

/* Staggered card animations */
.plan-card:nth-child(1) { animation: fadeInUp 0.4s ease-out 0.1s both; }
.plan-card:nth-child(2) { animation: fadeInUp 0.4s ease-out 0.2s both; }
.plan-card:nth-child(3) { animation: fadeInUp 0.4s ease-out 0.3s both; }

/* Payment methods */
.payment-methods {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px;
    margin-bottom: 14px;
    background: var(--bg-input);
    border-radius: var(--radius-sm);
}

.payment-methods span {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.payment-logo {
    height: 20px;
    opacity: 0.65;
    transition: var(--transition);
}

[data-theme="dark"] .payment-logo {
    filter: brightness(1.4);
}

.payment-logo:hover { opacity: 1; }

/* ---------- Promo Code Section ---------- */
.promo-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.promo-header i { color: var(--orange); font-size: 1rem; }

.promo-title {
    font-size: 1.05rem;
    font-weight: 650;
}

.promo-subtitle {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.promo-input-group {
    display: flex;
    gap: 8px;
}

.promo-input {
    flex: 1;
    padding: 13px 16px;
    background: var(--bg-input);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition);
    outline: none;
}

.promo-input::placeholder {
    color: var(--text-muted);
    letter-spacing: 0;
    text-transform: none;
    font-weight: 400;
    font-size: 0.82rem;
}

.promo-input:focus {
    border-color: var(--primary);
    background: var(--bg-input-focus);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.btn-promo-apply {
    padding: 13px 22px;
    background: linear-gradient(135deg, var(--orange), #fbbf24);
    border: none;
    border-radius: var(--radius-sm);
    color: #78350f;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-promo-apply:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

/* Promo Benefits */
.promo-benefits {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.promo-benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.promo-benefit-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
}

.promo-benefit-icon {
    width: 40px; height: 40px;
    min-width: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: #fff;
}

.promo-benefit-icon--wifi {
    background: linear-gradient(135deg, var(--green), #34d399);
}

.promo-benefit-icon--speed {
    background: linear-gradient(135deg, var(--primary), #818cf8);
}

.promo-benefit-icon--gift {
    background: linear-gradient(135deg, var(--orange), #fbbf24);
}

.promo-benefit-text {
    display: flex;
    flex-direction: column;
}

.promo-benefit-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
}

.promo-benefit-desc {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.promo-input-section {
    margin-bottom: 0;
}

.promo-input-hint {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 8px;
    text-align: center;
}

/* Staggered benefit animations */
.promo-benefit-item:nth-child(1) { animation: fadeInUp 0.4s ease-out 0.1s both; }
.promo-benefit-item:nth-child(2) { animation: fadeInUp 0.4s ease-out 0.2s both; }
.promo-benefit-item:nth-child(3) { animation: fadeInUp 0.4s ease-out 0.3s both; }

/* ---------- Profile Page ---------- */
.profile-header-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-soft), var(--blue-light));
    border: 1px solid var(--primary-light);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    animation: fadeInUp 0.5s ease-out;
}

.profile-avatar {
    width: 56px; height: 56px;
    min-width: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #818cf8);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.3);
}

.profile-user-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.profile-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.profile-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--green);
}

.profile-status-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--green);
    position: relative;
}

.profile-status-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--green);
    animation: statusPulse 2s ease-in-out infinite;
}

/* Info List */
.profile-info-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.profile-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-input);
    transition: var(--transition);
}

.profile-info-item + .profile-info-item {
    border-top: 1px solid var(--border);
}

.profile-info-item:hover {
    background: var(--bg-card-hover);
}

.profile-info-icon {
    width: 36px; height: 36px;
    min-width: 36px;
    border-radius: 10px;
    background: var(--primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--primary);
}

.profile-info-data {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.profile-info-label {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.profile-info-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Profile Actions */
.profile-actions {
    display: flex;
    gap: 10px;
}

.profile-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-input);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.profile-action-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-soft);
}

.profile-action-btn--danger {
    color: var(--rose);
}

.profile-action-btn--danger:hover {
    border-color: var(--rose);
    color: var(--rose);
    background: var(--rose-light);
}

/* Profile Empty State */
.profile-empty {
    text-align: center;
    padding: 20px 0;
}

.profile-empty-icon {
    width: 72px; height: 72px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--bg-input);
    border: 2px dashed var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--text-muted);
}

.profile-empty-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.profile-empty-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* ---------- Payment Page: Selected Plan Summary ---------- */
.selected-plan-summary {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--primary-soft);
    border: 1px solid var(--primary-light);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.selected-plan-icon {
    width: 44px; height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), #818cf8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
}

.selected-plan-info {
    flex: 1;
}

.selected-plan-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.selected-plan-details {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.selected-plan-details i {
    font-size: 0.65rem;
}

.selected-plan-dot {
    opacity: 0.4;
}

.selected-plan-price {
    text-align: right;
}

.selected-plan-amount {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    line-height: 1;
}

.selected-plan-currency {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* ---------- Payment Method Options ---------- */
.payment-section-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--bg-input);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.payment-option:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.payment-option.selected {
    border-color: var(--primary);
    background: var(--primary-soft);
}

.payment-option-radio {
    width: 22px; height: 22px;
    min-width: 22px;
    border-radius: 50%;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.payment-option.selected .payment-option-radio {
    border-color: var(--primary);
}

.radio-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: transparent;
    transition: var(--transition);
}

.payment-option.selected .radio-dot {
    background: var(--primary);
}

.payment-option-logo {
    height: 24px;
    opacity: 0.7;
    transition: var(--transition);
}

.payment-option.selected .payment-option-logo {
    opacity: 1;
}

[data-theme="dark"] .payment-option-logo {
    filter: brightness(1.4);
}

.payment-option-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* ---------- Confirm Page: Order Summary ---------- */
.order-summary {
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 24px;
}

.order-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
}

.order-row + .order-row {
    border-top: 1px solid var(--border);
}

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

.order-value {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
}

.order-row--total {
    margin-top: 4px;
}

.order-value--total {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
}

/* ---------- Phone Number Input ---------- */
.phone-section {
    margin-bottom: 24px;
}

.phone-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.phone-input-group {
    display: flex;
    align-items: stretch;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    background: var(--bg-input);
}

.phone-input-group:focus-within {
    border-color: var(--primary);
    background: var(--bg-input-focus);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.phone-prefix {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    background: var(--bg-card-hover);
    border-right: 1px solid var(--border);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
    user-select: none;
}

.phone-flag {
    font-size: 1.1rem;
}

.phone-input {
    flex: 1;
    padding: 14px 16px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 1.15rem;
    font-weight: 600;
    font-family: 'Poppins', monospace;
    letter-spacing: 2px;
    outline: none;
    width: 100%;
}

.phone-input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 1px;
    font-size: 0.95rem;
}

.phone-hint {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 8px;
    text-align: center;
}

/* ---------- OTP Code Input Section ---------- */
.otp-section {
    margin-bottom: 24px;
    text-align: center;
}

.otp-inputs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
}

.otp-input {
    width: 62px;
    height: 70px;
    text-align: center;
    font-size: 1.7rem;
    font-weight: 700;
    font-family: 'Poppins', monospace;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-input);
    color: var(--text-primary);
    outline: none;
    transition: var(--transition);
    caret-color: var(--primary);
}

.otp-input:focus {
    border-color: var(--primary);
    background: var(--bg-input-focus);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    transform: scale(1.05);
}

.otp-input.filled {
    border-color: var(--green);
    background: var(--green-soft);
}

.otp-input.error {
    border-color: var(--rose);
    background: var(--rose-light);
    animation: shake 0.4s ease-out;
}

.otp-hint {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ---------- Resend Section ---------- */
.resend-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.resend-timer {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.resend-timer strong {
    color: var(--primary);
    font-weight: 600;
}

.resend-btn {
    padding: 8px 18px;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    border: none;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.resend-btn:hover {
    background: var(--primary-light);
    text-decoration: none;
}

/* ---------- Registration Form ---------- */
.register-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input-icon {
    position: absolute;
    left: 14px;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition);
    pointer-events: none;
    z-index: 1;
}

.form-input {
    width: 100%;
    padding: 14px 16px 14px 42px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: var(--transition);
}

.form-input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.form-input:focus {
    border-color: var(--primary);
    background: var(--bg-input-focus);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-input-wrap:focus-within .form-input-icon {
    color: var(--primary);
}

.form-input.error {
    border-color: var(--rose);
}

.form-input.error ~ .form-input-icon {
    color: var(--rose);
}

.form-input.success {
    border-color: var(--green);
}

.form-input.success ~ .form-input-icon {
    color: var(--green);
}

.form-error {
    font-size: 0.72rem;
    color: var(--rose);
    margin-top: 4px;
    min-height: 16px;
    font-weight: 500;
}

/* Shake animation */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

/* ---------- Connecting Overlay ---------- */
.connecting-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    animation: fadeIn 0.3s ease-out;
}

[data-theme="dark"] .connecting-overlay {
    background: rgba(15, 23, 42, 0.92);
}

.connecting-overlay.active { display: flex; }

.spinner-ring {
    width: 56px; height: 56px;
    border: 4px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.connecting-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.connecting-subtext {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: -12px;
}

/* ---------- Toast Notification ---------- */
.toast-container {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    width: calc(100% - 32px);
    max-width: 400px;
}

.toast {
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: toastSlide 0.4s ease-out;
    box-shadow: var(--shadow-md);
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    margin-bottom: 8px;
}

.toast--success { border-left: 3px solid var(--green); }
.toast--success i { color: var(--green); }

.toast--error { border-left: 3px solid var(--rose); }
.toast--error i { color: var(--rose); }

.toast--info { border-left: 3px solid var(--primary); }
.toast--info i { color: var(--primary); }

.toast.hiding { animation: toastOut 0.3s ease-in forwards; }

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

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

/* ---------- Footer ---------- */
.portal-footer {
    text-align: center;
    padding: 20px;
    margin-top: 20px;
    animation: fadeIn 0.8s ease-out 0.4s both;
}

.portal-footer p {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.portal-footer a {
    color: var(--primary);
    font-weight: 500;
}

.portal-footer a:hover { text-decoration: underline; }

/* ---------- Animations ---------- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.service-card:nth-child(1) { animation: fadeInUp 0.5s ease-out 0.1s both; }
.service-card:nth-child(2) { animation: fadeInUp 0.5s ease-out 0.2s both; }

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
    .portal-main {
        padding: 16px;
        align-items: flex-start;
        padding-top: 32px;
    }

    .main-card {
        padding: 22px 18px;
        border-radius: var(--radius-md);
    }

    .portal-logo { width: 100px; }
    .portal-title { font-size: 1.3rem; }

    .service-card { padding: 14px; gap: 12px; }
    .service-icon { width: 42px; height: 42px; min-width: 42px; font-size: 1.05rem; border-radius: 12px; }
    .service-title { font-size: 0.92rem; }

    .quick-actions { gap: 8px; }
    .quick-action { padding: 10px 8px; font-size: 0.75rem; gap: 6px; }

    .plan-card { border-radius: 16px; }
    .plan-card-content { padding: 20px 20px; }
    .plan-price-amount { font-size: 1.9rem; }
    .plan-duration { font-size: 1rem; }
    .plan-chip { width: 42px; height: 30px; font-size: 0.85rem; }
    .plan-specs span { font-size: 0.88rem; }
    .plan-price-currency { font-size: 0.9rem; }

    .otp-input { width: 54px; height: 62px; font-size: 1.4rem; }
    .otp-inputs { gap: 10px; }

    .profile-header-card { padding: 16px; gap: 12px; }
    .profile-avatar { width: 48px; height: 48px; min-width: 48px; font-size: 1rem; }
    .profile-name { font-size: 1rem; }
    .profile-actions { gap: 8px; }
    .profile-action-btn { padding: 10px; font-size: 0.78rem; }

    .promo-benefit-icon { width: 36px; height: 36px; min-width: 36px; font-size: 0.85rem; }
    .promo-benefit-title { font-size: 0.82rem; }

    .bg-blob--1 { width: 300px; height: 300px; }
    .bg-blob--2 { width: 250px; height: 250px; }
    .bg-blob--3 { width: 150px; height: 150px; }
}

@media (min-width: 769px) {
    .portal-container { max-width: 460px; }
    .portal-main { padding: 40px; }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ---------- Selection ---------- */
::selection {
    background: rgba(79, 70, 229, 0.15);
    color: var(--text-primary);
}

/* ============================================
   LARAVEL INTEGRATION - Additional Components
   ============================================ */

/* ---------- Alert Toast (inline) ---------- */
.alert-toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 16px;
    animation: slideInDown 0.3s ease;
}

.alert-toast--warning {
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.alert-toast--error {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.alert-toast--success {
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.alert-toast i {
    font-size: 1.1rem;
    flex-shrink: 0;
}

[data-theme="dark"] .alert-toast--warning {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border-color: rgba(245, 158, 11, 0.3);
}

[data-theme="dark"] .alert-toast--error {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.3);
}

[data-theme="dark"] .alert-toast--success {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border-color: rgba(34, 197, 94, 0.3);
}

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

/* ---------- Alert Box (full width info/warning) ---------- */
.alert-box {
    display: flex;
    gap: 14px;
    padding: 18px;
    border-radius: 14px;
    margin-bottom: 20px;
}

.alert-box--warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.alert-box--info {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(79, 70, 229, 0.05));
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.alert-box-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.alert-box--warning .alert-box-icon {
    background: rgba(245, 158, 11, 0.15);
    color: #b45309;
}

.alert-box--info .alert-box-icon {
    background: rgba(79, 70, 229, 0.15);
    color: var(--primary);
}

.alert-box-content h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.alert-box-content p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

[data-theme="dark"] .alert-box--warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(245, 158, 11, 0.06));
    border-color: rgba(245, 158, 11, 0.25);
}

[data-theme="dark"] .alert-box--warning .alert-box-icon {
    color: #fbbf24;
}

[data-theme="dark"] .alert-box--info {
    background: linear-gradient(135deg, rgba(129, 120, 255, 0.12), rgba(129, 120, 255, 0.06));
    border-color: rgba(129, 120, 255, 0.25);
}

[data-theme="dark"] .alert-box--info .alert-box-icon {
    color: var(--primary);
}

/* ---------- Success Box ---------- */
.success-box {
    text-align: center;
    padding: 24px 16px;
}

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.6rem;
    color: #16a34a;
}

.success-box h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.success-box p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 8px;
}

.success-hint {
    font-size: 0.8rem;
    color: var(--text-light);
}

[data-theme="dark"] .success-icon {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.08));
    color: #4ade80;
}

/* ---------- Starter Page Info Box ---------- */
.starter-info-box {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(79, 70, 229, 0.03));
    border: 1px solid rgba(79, 70, 229, 0.15);
    border-radius: 14px;
    margin-bottom: 16px;
}

.starter-info-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    background: rgba(79, 70, 229, 0.12);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.starter-info-box p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* ---------- Status Dot Warning ---------- */
.status-dot--warning {
    background: #f59e0b !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2) !important;
}

/* ---------- Order History List ---------- */
.order-history-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.order-history-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.order-history-item:hover {
    border-color: rgba(79, 70, 229, 0.3);
}

.order-history-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.order-history-info {
    flex: 1;
    min-width: 0;
}

.order-history-plan {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.order-history-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.order-history-amount {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

.order-history-amount small {
    font-weight: 400;
    font-size: 0.7rem;
    color: var(--text-muted);
}

[data-theme="dark"] .order-history-icon {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
}

/* ---------- Empty State ---------- */
.empty-state {
    text-align: center;
    padding: 32px 16px;
}

.empty-state-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 1.3rem;
    color: var(--text-light);
}

.empty-state h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.empty-state p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

/* ---------- Order Summary ---------- */
.order-summary {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 20px;
}

.order-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.order-row + .order-row {
    border-top: 1px solid var(--border);
}

.order-row--total {
    padding-top: 12px;
    margin-top: 4px;
}

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

.order-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.order-value--total {
    font-size: 1.05rem;
    color: var(--primary);
    font-weight: 700;
}

/* ---------- Phone Hint ---------- */
.phone-hint {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 8px;
    text-align: center;
}

/* ---------- Plan card link reset ---------- */
a.plan-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* ---------- Payment option link reset ---------- */
a.payment-option {
    text-decoration: none;
    color: inherit;
}

/* ---------- Support Links (Footer) ---------- */
.support-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.support-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 500;
    text-decoration: none;
    transition: background .2s, transform .15s, opacity .2s;
    opacity: .75;
}
.support-link:hover {
    opacity: 1;
    transform: translateY(-1px);
}
.support-link--phone {
    background: rgba(34,197,94,.12);
    color: #16a34a;
}
.support-link--tg {
    background: rgba(0,136,204,.12);
    color: #0088cc;
}
[data-theme="dark"] .support-link--phone {
    background: rgba(34,197,94,.15);
    color: #4ade80;
}
[data-theme="dark"] .support-link--tg {
    background: rgba(0,136,204,.15);
    color: #38bdf8;
}
.support-link i {
    font-size: 0.85rem;
}
