/* ============================================================
   SHELL TOPUP - Modern Soft Blue Aesthetic Style System
   Matches Screenshots: #f0f4f9 base, crisp white cards, clean pills
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --bg-page: #f0f4f9;
    --card-bg: #ffffff;
    --primary: #0099ff;
    --primary-hover: #0080d9;
    --primary-soft: #e0f2fe;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --radius-card: 20px;
    --radius-pill: 50px;
    --radius-input: 14px;
    --shadow-sm: 0 4px 15px rgba(0, 30, 80, 0.03);
    --shadow-md: 0 10px 30px rgba(0, 50, 120, 0.05);
    --shadow-lg: 0 20px 40px rgba(0, 50, 120, 0.09);
    --gold: #f59e0b;
    --success: #10b981;
    --danger: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
}

body {
    background-color: var(--bg-page);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}


/* ================= Navbar ================= */
.site-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.brand-logo img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.brand-logo .brand-text {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #0b192c;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    transition: all 0.2s ease;
}

.nav-links a:hover {
    color: var(--primary);
    background: var(--primary-soft);
}

.nav-links a.active {
    color: var(--primary);
    background: var(--primary-soft);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.balance-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.balance-pill .dot-gold {
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
    display: inline-block;
}

.user-profile-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-primary);
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 4px 10px 4px 6px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
}

.user-avatar-small {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #0099ff;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.btn-signout {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s;
}

.btn-signout:hover {
    background: #fee2e2;
    color: var(--danger);
    border-color: #fca5a5;
}

.btn-signin-nav {
    background: var(--primary);
    color: #fff;
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-signin-nav:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

/* ================= Main Container ================= */
.main-wrapper {
    max-width: 1050px;
    margin: 32px auto 60px;
    padding: 0 20px;
    width: 100%;
    flex: 1;
}

/* Page Section Title */
.page-header-block {
    margin-bottom: 24px;
}

.page-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
}

/* ================= Switcher Tabs (Redeem PIN / Buy shells) ================= */
.tab-switcher {
    display: inline-flex;
    background: #e6edf7;
    padding: 5px;
    border-radius: var(--radius-pill);
    margin-bottom: 28px;
    border: 1px solid #d8e2ef;
}

.tab-btn {
    border: none;
    background: transparent;
    padding: 10px 28px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-block;
}

.tab-btn.active {
    background: #ffffff;
    color: var(--primary);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

/* ================= Card Container (Step 1: Choose a package) ================= */
.content-card {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    padding: 32px;
    margin-bottom: 30px;
}

.card-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 8px;
}

.card-heading h2 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
}

.card-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* ================= Packages Grid ================= */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.package-card {
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    border-radius: 18px;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.package-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 153, 255, 0.12);
}

.package-card.selected {
    border-color: var(--primary);
    background: #f8fbff;
    box-shadow: 0 0 0 2px var(--primary);
}

.package-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.package-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    flex-shrink: 0;
}

.package-icon-wrap img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.package-card:hover .package-icon-wrap img {
    transform: scale(1.08);
}

.package-info .shells-amt {
    font-size: 24px;
    font-weight: 800;
    color: #0084ff;
    line-height: 1.1;
}

.package-info .shells-unit {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-left: 4px;
}

.package-price-wrap {
    text-align: right;
}

.package-price-wrap .price-val {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.package-stock-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
    margin-top: 4px;
}

.package-stock-badge.in-stock {
    background: #dcfce7;
    color: #15803d;
}

.package-stock-badge.out-stock {
    background: #fee2e2;
    color: #b91c1c;
}

/* ================= Recent Activity Table ================= */
.activity-card {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    padding: 28px 32px;
}

.activity-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.activity-header h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
}

.btn-view-all {
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-view-all:hover {
    background: #f8fafc;
    color: var(--text-primary);
}

.activity-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.activity-table-wrapper {
    overflow-x: auto;
}

.activity-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.activity-table thead tr {
    background: #f1f6fc;
}

.activity-table th {
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    border: none;
}

.activity-table th:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.activity-table th:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.activity-table td {
    padding: 16px 18px;
    font-size: 14px;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
}

.activity-table tr:last-child td {
    border-bottom: none;
}

.badge-type {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-type.topup {
    background: #e0f2fe;
    color: #0284c7;
}

.badge-type.redeem {
    background: #dcfce7;
    color: #16a34a;
}

.badge-type.purchase {
    background: #fef3c7;
    color: #d97706;
}

.amt-negative {
    color: #ef4444;
    font-weight: 700;
}

.amt-positive {
    color: #10b981;
    font-weight: 700;
}

/* ================= Auth Modals & Forms (Photos 3 & 4) ================= */
.auth-wrapper {
    min-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 16px;
}

.auth-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0, 40, 100, 0.07);
    padding: 36px 32px;
    width: 100%;
    max-width: 440px;
}

.auth-logo-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
}

.auth-logo-center img {
    width: 32px;
    height: 32px;
}

.auth-logo-center h1 {
    font-size: 20px;
    font-weight: 800;
    color: #0b192c;
    letter-spacing: -0.5px;
}

.auth-tab-switch {
    display: flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: var(--radius-pill);
    margin-bottom: 24px;
}

.auth-tab-switch a {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-pill);
    transition: all 0.2s;
}

.auth-tab-switch a.active {
    background: #ffffff;
    color: var(--primary);
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
}

.btn-google {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: var(--radius-input);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-google:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.auth-divider span {
    padding: 0 12px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-input);
    font-size: 14px;
    color: var(--text-primary);
    background: #fff;
    outline: none;
    transition: all 0.2s;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 153, 255, 0.15);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.radio-select-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.radio-btn-label {
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-input);
    padding: 12px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.radio-select-group input[type="radio"]:checked + .radio-btn-label {
    border-color: var(--primary);
    background: #f0f9ff;
    color: var(--primary);
}

.btn-auth-submit {
    width: 100%;
    background: linear-gradient(135deg, #0099ff 0%, #38bdf8 100%);
    border: none;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    padding: 13px;
    border-radius: var(--radius-input);
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 6px 18px rgba(0, 153, 255, 0.25);
    margin-top: 8px;
}

.btn-auth-submit:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.btn-forgot-password {
    display: block;
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: var(--radius-input);
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #475569;
    text-decoration: none;
    margin-top: 14px;
    transition: all 0.2s;
}

.btn-forgot-password:hover {
    background: #f8fafc;
    color: var(--text-primary);
}

/* ================= Modal Backdrop & Dialog ================= */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-backdrop.show {
    display: flex;
}

.modal-box {
    background: #ffffff;
    border-radius: 24px;
    width: 100%;
    max-width: 500px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: modalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
}

.modal-close {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.modal-close:hover {
    background: #e2e8f0;
    color: var(--text-primary);
}

.modal-body {
    padding: 24px;
}

.alert-box {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.alert-box.success { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.alert-box.danger { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }
.alert-box.info { background: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd; }

/* Responsive adjustments */
@media (max-width: 900px) {
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .packages-grid {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none;
    }
    .content-card, .activity-card {
        padding: 20px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 800px) {
    main.main-wrapper div[style*="grid-template-columns: 1fr 1.3fr"] {
        grid-template-columns: 1fr !important;
    }
    main.main-wrapper section div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 12px 16px;
    }
    .brand-logo .brand-text {
        font-size: 16px;
    }
    .package-card {
        padding: 16px 18px;
    }
    .package-info .shells-amt {
        font-size: 19px;
    }
    .form-control {
        font-size: 16px; /* Prevents auto zoom on mobile browsers */
    }
    .auth-card {
        padding: 24px 20px;
        border-radius: 20px;
    }
}

/* ================= App-Style Mobile Drawer & Hamburger ================= */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 38px;
    height: 38px;
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    padding: 10px 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: #0f172a;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.mobile-menu-btn:active {
    transform: scale(0.94);
    background: #f1f5f9;
}

.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 82vw;
    max-width: 310px;
    height: 100%;
    height: 100dvh;
    background: #ffffff;
    z-index: 99999;
    box-shadow: -8px 0 35px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transform: translateX(105%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 20px 18px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}

.mobile-drawer.open {
    transform: translateX(0);
}


.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
}

.mobile-drawer-close {
    background: #f1f5f9;
    border: none;
    font-size: 24px;
    line-height: 1;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
}

.mobile-drawer-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    margin: 14px 0 10px;
    overflow: hidden;
}

.mobile-drawer-user strong {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 190px;
}

.mobile-drawer-user span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 190px;
    display: block;
}

.mobile-drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 10px;
    flex: 1;
}

.mobile-drawer-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    font-size: 14.5px;
    font-weight: 700;
    color: #334155;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.18s;
}

.mobile-drawer-nav a:hover,
.mobile-drawer-nav a.active {
    background: #f0f9ff;
    color: var(--primary);
}

.mobile-drawer-footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.btn-mobile-auth {
    display: block;
    text-align: center;
    padding: 11px 16px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-mobile-auth.login {
    background: #f1f5f9;
    color: #0f172a;
}

.btn-mobile-auth.register {
    background: var(--primary);
    color: #ffffff;
}

.btn-mobile-auth.logout {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* Mobile Media Queries */
@media (max-width: 768px) {
    .desktop-only,
    .nav-links {
        display: none !important;
    }
    .mobile-menu-btn {
        display: flex;
    }
    
    /* Responsive Checkout: Payment Form First on Mobile! */
    .checkout-grid-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }
    .checkout-payment-col {
        order: 1 !important;
    }
    .checkout-summary-col {
        order: 2 !important;
    }

    /* Orders: Show Cards on Mobile, Hide Table */
    .orders-desktop-table {
        display: none !important;
    }
    .orders-mobile-cards {
        display: flex !important;
        flex-direction: column;
        gap: 14px;
    }
}

/* Default Desktop: Show Table, Hide Mobile Cards */
.orders-mobile-cards {
    display: none;
}
.orders-desktop-table {
    display: block;
}

/* Order Mobile Card Styling */
.order-mobile-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    transition: transform 0.2s, box-shadow 0.2s;
}

.order-mobile-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.omc-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.omc-order-id {
    font-size: 14px;
    font-weight: 800;
    color: #0284c7;
    letter-spacing: 0.5px;
}

.omc-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.omc-pkg {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
}

.omc-price {
    font-size: 15px;
    font-weight: 800;
    color: #0099ff;
}

.omc-pin-box {
    background: #f8fafc;
    border: 1.5px dashed #0099ff;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 12px;
}

.omc-pin-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.omc-pin-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.omc-pin-code {
    font-family: monospace;
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    word-break: break-all;
    letter-spacing: 1px;
}

.omc-btn-copy {
    background: #16a34a;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
}

.omc-btn-copy:active {
    transform: scale(0.96);
}

.omc-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #64748b;
}

/* Universal Result Popup Modal */
.modal-popup-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 16px;
    box-sizing: border-box;
}

.modal-popup-box {
    background: #ffffff;
    width: 100%;
    max-width: 500px;
    border-radius: 24px;
    padding: 28px 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    animation: popupScaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-sizing: border-box;
}

@keyframes popupScaleIn {
    0% {
        opacity: 0;
        transform: scale(0.92) translateY(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Rotating Circle Process Spinner */
.circle-spinner {
    width: 52px;
    height: 52px;
    border: 4.5px solid #e0f2fe;
    border-top: 4.5px solid #0099ff;
    border-radius: 50%;
    animation: processSpin 0.9s cubic-bezier(0.5, 0.1, 0.5, 0.9) infinite;
    margin: 0 auto 16px;
}

@keyframes processSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


