/* RESET + GLOBALS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: #ffffff;
    color: #111827;
}

/* TOP BAR */
.top-bar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 14px 60px;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    background: #ffffffcc;
    backdrop-filter: blur(10px);
    z-index: 10;
}

/* LOGO */
.logo-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #0070c9;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-transform: lowercase;
}

.logo-text {
    background: #00a651;
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
}

/* NAV */
.main-nav {
    display: flex;
    justify-content: center;
    gap: 18px;
    font-size: 13px;
}

.main-nav a {
    text-decoration: none;
    color: #111827;
    position: relative;
    padding-bottom: 3px;
    transition: color 0.2s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #111827;
    transition: width 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a:hover {
    color: #000;
}

/* TOP RIGHT BUTTONS */
.top-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.outline-btn {
    padding: 7px 18px;
    border-radius: 999px;
    border: 1px solid #0070c9;
    background: transparent;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.outline-btn:hover {
    background: #0070c9;
    color: #fff;
    box-shadow: 0 6px 15px rgba(0, 112, 201, 0.25);
}

.search-box input {
    padding: 7px 10px;
    border-radius: 3px;
    border: 1px solid #d1d5db;
    font-size: 12px;
    width: 160px;
}

/* PAGE WRAPPER */
.page-wrapper {
    max-width: 1150px;
    margin: 40px auto 60px;
    padding: 0 20px;
}

/* HERO */
.hero-title {
    text-align: center;
    font-size: 40px;
    font-weight: 500;
    color: #0f172a;
    margin-bottom: 40px;
    animation: fadeDown 0.6s ease-out;
}

/* MAIN CONTENT ROW */
.content-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.image-column img {
    width: 100%;
    display: block;
    object-fit: cover;
    animation: floatInLeft 0.7s ease-out;
}

.text-column p {
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
    animation: floatInRight 0.7s ease-out;
}

/* BUTTON GRID */


.portal-btn {
    width: 100%;
    background: #000;
    color: #fff;
    border: none;
    padding: 16px 10px;
    font-size: 25px;
    cursor: pointer;
    text-transform: none;
    box-shadow: 0 3px 0 #222;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.portal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.35);
    background: #111827;
}

/* QUESTIONS SECTION */
.questions {
    text-align: center;
    margin-top: 10px;
}

.divider {
    height: 2px;
    background: #000;
    max-width: 420px;
    margin: 0 auto 16px;
}

.questions-title {
    font-size: 13px;
    letter-spacing: 1px;
    font-weight: 600;
    color: #111827;
}

.questions-email {
    font-size: 14px;
    margin-top: 4px;
    color: #1d4ed8;
    font-weight: 600;
}

/* ANIMATIONS */
@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatInLeft {
    from {
        opacity: 0;
        transform: translateX(-24px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes floatInRight {
    from {
        opacity: 0;
        transform: translateX(24px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .top-bar {
        grid-template-columns: 1fr;
        row-gap: 10px;
        padding: 12px 20px;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .top-actions {
        justify-content: flex-start;
    }

    .content-row {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 32px;
    }
}

@media (max-width: 640px) {
    .buttons-grid {
        grid-template-columns: 1fr;
    }

    .search-box input {
        width: 120px;
    }
}
.content-block {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.center-img img {
    width: 100%;
    max-width: 520px;
    margin: 0 auto 20px;
    display: block;
}

.center-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
/* AUTH FULL PAGE BACKGROUND */
body.auth-page {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* gradient similar to sample */
    background: radial-gradient(circle at top left, #1f2937 0, #020617 50%);
    color: #e5e7eb;
}

/* remove default page wrapper spacing for auth page if any */
body.auth-page .page-wrapper {
    max-width: none;
    margin: 0;
    padding: 0;
}

/* Center logo above card */
.auth-logo {
    margin-bottom: 18px;
}

.auth-logo img {
    max-width: 190px;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.45));
}

/* AUTH CARD */
.auth-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 10px 16px 40px;
}

.auth-card {
    width: 100%;
    max-width: 380px;
    border-radius: 26px;
    padding: 28px 30px 26px;
    text-align: left;
}

/* Glassmorphism style like sample */
.auth-card-glass {
    background: radial-gradient(circle at top left, #1f2937 0, #020617 50%);
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 24px 60px rgba(0,0,0,0.55);
    backdrop-filter: blur(18px);
}

/* Avatar circle at top */
.auth-avatar {
    width: 70px;
    height: 70px;
    border-radius: 999px;
    margin: 0 auto 10px;
    background: radial-gradient(circle at 30% 20%, #ffffff33, #00000044);
    background-color: rgba(255,255,255,0.18);
}

/* Title */
.auth-card h2 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
    color: #f9fafb;
}

/* Labels */
.auth-card label {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
    color: #e5e7eb;
}

/* Input row with icon */
.auth-input-row {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 4px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(249,250,251,0.4);
}

.auth-icon {
    font-size: 13px;
    color: #e5e7eb;
}

/* Transparent inputs – underline only */
.auth-input-row input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 6px 2px;
    font-size: 13px;
    color: #f9fafb;
}

.auth-input-row input::placeholder {
    color: #9ca3af;
}

/* Primary login button */
.auth-primary-btn {
    margin-top: 12px;
    width: 100%;
    padding: 10px 0;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
    font-weight: 600;
    color: #f9fafb;
    background: linear-gradient(135deg, #6d28d9, #ec4899);
    box-shadow: 0 10px 25px rgba(0,0,0,0.7);
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.auth-primary-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.85);
    opacity: 0.95;
}

/* Error message */
.auth-error {
    background: rgba(254, 202, 202, 0.12);
    border: 1px solid rgba(248, 113, 113, 0.6);
    color: #fecaca;
    border-radius: 8px;
    padding: 6px 8px;
    font-size: 12px;
    margin-bottom: 10px;
}

/* Links row */
.auth-links-row {
    margin-top: 12px;
    font-size: 12px;
    text-align: center;
    color: #e5e7eb;
}

.auth-links-row a {
    color: #bfdbfe;
    text-decoration: none;
}

.auth-links-row a:hover {
    text-decoration: underline;
}
/* Dropdown style for signup */
.auth-select {
    width: 100%;
    margin-top: 4px;
    margin-bottom: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(249,250,251,0.35);
    background: rgba(15,23,42,0.45);
    color: #f9fafb;
    font-size: 13px;
    outline: none;
}
.auth-select:focus {
    border-color: rgba(191,219,254,0.9);
}

/* Info message on dark background */
.auth-info {
    background: rgba(37, 99, 235, 0.22);
    border: 1px solid rgba(191, 219, 254, 0.8);
    color: #e0f2fe;
    border-radius: 8px;
    padding: 6px 8px;
    font-size: 12px;
    margin-bottom: 10px;
}
.auth-info a {
    color: #bfdbfe;
    text-decoration: underline;
}
.logout-btn {
    padding: 8px 18px;
    background: #ef4444;
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    font-size: 13px;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.logout-btn:hover {
    background: #dc2626;
    transform: translateY(-1px);
}
.page-wrapper {
    max-width: 1200px !important;   /* Controlled width */
    margin: 40px auto !important;   /* Center align */
    padding: 0 20px;
}
.dashboard-container {
    display: flex;
    flex-direction: column;
    align-items: center;     /* Center horizontally */
    justify-content: center;
    width: 100%;
}

.dashboard-card {
    width: 100%;
    max-width: 1200px;        /* Same width as container */
    padding: 20px;
    border-radius: 16px;
}
.dashboard-image img {
    width: 100%;
    max-width: 700px;       /* Bigger image */
    height: auto;
    border-radius: 16px;
}
.buttons-grid {
    width: 100%;
    max-width: 700px;        /* Wide buttons area */
    margin: 20px auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.portal-btn {
    padding: 18px;
    font-size: 16px;
    border-radius: 12px;
}
.dashboard-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.dashboard-card {
    width: 100%;
}

.dashboard-image img {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: 16px;
}

/* Buttons */
.buttons-grid {
    width: 100%;
    max-width: 700px;
    margin: 20px auto 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.portal-btn {
    padding: 18px;
    font-size: 16px;
    border-radius: 12px;
}
/* ===== Currency highlight strip ===== */
.currency-highlight {
    margin: 18px 0 30px;
    padding: 18px 24px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    /* dark neon gradient strip */
    background: radial-gradient(circle at top left, #22c55e 0%, #0ea5e9 35%, #020617 100%);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.6);
    color: #f9fafb;
}

.currency-text h2 {
    font-size: 18px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.currency-text p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.currency-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.45);
    font-size: 13px;
}

.currency-tag span {
    font-weight: 600;
    color: #bbf7d0;
}

/* Right side price block */
.currency-price {
    text-align: right;
}

.currency-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.85;
    margin-bottom: 4px;
}

.currency-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
}

.currency-note {
    display: block;
    font-size: 11px;
    opacity: 0.85;
    margin-top: 4px;
}

/* Responsive */
@media (max-width: 900px) {
    .currency-highlight {
        flex-direction: column;
        align-items: flex-start;
    }

    .currency-price {
        text-align: left;
        width: 100%;
    }
}

/* Small Left-Aligned Currency Box */
.currency-box-small {
    width: 220px;                 /* Chhota card */
    background: #ffffff;
    padding: 16px 18px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    margin: 20px 0;              /* Heading ke niche gap */
    text-align: left;            /* Left aligned text */
}

.currency-label-small {
    font-size: 13px;
    font-weight: 600;
    color: #475569;              /* Grey label (Currency) */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.currency-value-small {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;              /* Dark bold amount */
}

