:root {
    --brand-a: #4f46e5;
    --brand-b: #c7d2fe;
    --ink: #0f172a;
    --surface: #ffffff;
    --surface-alt: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.84);
    --glass-border: rgba(148, 163, 184, 0.24);
    --text-dark: #1f2937;
    --text-muted: #475569;
    --accent: #6366f1;
    --accent-2: #a78bfa;
    --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    height: 100%;
    font-family: "Poppins", "Segoe UI", sans-serif;
    color: var(--text-dark);
    background: #f8fafc;
}

body.app-body {
    background: #ff2626;
    background-repeat: no-repeat;
    background-size: cover;
    color: #ffffff;
}

body.auth-page {
    background: #f8fafc;
    background-image: none;
}

html {
    min-height: 100%;
    height: 100%;
}

.app-body,
.admin-body {
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


.brand-logo {
    height: 40px;
    width: 40px;
    max-width: 160px;
    object-fit: contain;
    display: block;
}


.glass-card {
    background: rgb(7 37 240 / 87%);
    border: 1px solid rgba(255, 0, 253, 0.35);
    backdrop-filter: blur(16px);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(3, 7, 18, 0.22);
    color: #ffffff;
}

.glass-card .table {
    color: #ffffff;
}

/* Full width shell for mobile-style cards */
.container.mobile-shell,
.mobile-shell {
    max-width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
}

@media (min-width: 992px) {
    .container.mobile-shell,
    .mobile-shell {
        max-width: 100% !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
}

.glass-card .table th,
.glass-card .table td {
    color: #ffffff;
}

.dashboard-offer-banner {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.32);
    color: #ffffff;
    border-radius: 16px;
    padding: 12px 14px;
    margin-bottom: 16px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.text-success,
.text-warning,
.text-muted,
.text-light-emphasis {
    color: #ffffff !important;
}

.auth-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px 32px;
    background: rgba(248, 250, 252, 0.9);
}

.auth-card-wrapper {
    width: 100%;
    max-width: 420px;
}

.auth-card {
    border-radius: 34px;
    overflow: hidden;
    background: #f8fbff;
    box-shadow: 0 32px 80px rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(148, 163, 184, 0.32);
}

.auth-top {
    height: 190px;
    background: linear-gradient(140deg, #8b5cf6 0%, #c4b5fd 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.auth-logo-shell {
    width: 104px;
    height: 104px;
    border-radius: 28px;
    background: #ffffff;
    display: grid;
    place-items: center;
    box-shadow: 0 18px 40px rgba(99, 102, 241, 0.16);
}

.auth-logo-shell img {
    width: 56px;
    height: auto;
}

.auth-content {
    padding: 28px 26px 30px;
    background: #f8fbff;
}

.auth-title {
    margin: 0 0 8px;
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
    text-align: center;
}

.auth-subtitle {
    margin: 0 0 22px;
    color: #475569;
    text-align: center;
    line-height: 1.6;
}

.auth-form .form-label {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.auth-input-group {
    position: relative;
    margin-bottom: 18px;
}

.auth-input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(100, 116, 139, 0.85);
    font-size: 1.1rem;
    pointer-events: none;
    line-height: 1;
}

.auth-form .form-control {
    width: 100%;
    padding: 16px 16px 16px 54px;
    min-height: 52px;
    border-radius: 18px;
    background: #eef4ff;
    border: 1px solid rgba(148, 163, 184, 0.5);
    color: var(--text-dark);
}

.auth-form .form-control::placeholder {
    color: rgba(100, 116, 139, 0.6);
}

.auth-form .form-control:focus,
.auth-form .form-select:focus {
    background: #ffffff;
    color: var(--text-dark);
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.16);
    border-color: #6366f1;
}

.auth-form .btn-brand {
    border-radius: 999px;
    padding: 14px 18px;
    font-size: 1rem;
    width: 100%;
    background: linear-gradient(135deg, #6366f1, #a78bfa);
    color: #ffffff;
    box-shadow: 0 18px 28px rgba(99, 102, 241, 0.18);
}

.auth-form .btn-brand:hover {
    opacity: 0.96;
}

.auth-note {
    margin-top: 18px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.auth-note a {
    color: #6366f1;
    text-decoration: none;
}

.login-slide-page .mobile-shell {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.login-slide-page .mobile-shell > .d-flex { display: none !important; }

.login-slide-page .login-slider {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 24px auto 0;
    padding: 0 12px;
    z-index: 10;
}

.login-slide-page .slide-card {
    width: 100%;
    max-width: 420px;
    height: min(52vw, 300px);
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.login-slide-page .slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.login-slide-page .slide-controls {
    position: fixed;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    width: min(420px, calc(100% - 32px));
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    z-index: 15;
    background: rgba(15, 23, 42, 0.25);
    border-radius: 999px;
    backdrop-filter: blur(8px);
}

.login-slide-page .login-form {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(10px);
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.login-slide-page .auth-shell {
    min-height: auto;
    padding: 0;
    background: transparent;
    width: 100%;
}

.login-slide-page .auth-card-wrapper {
    max-width: 440px;
    width: 100%;
    margin-bottom: 20px;
}

.login-slide-page .slide-counter,
.login-slide-page .progress-dots {
    display: none;
}

.login-slide-page .button-next.button-small {
    padding: 6px 10px;
    font-size: 0.82rem;
    min-width: auto;
    border-radius: 999px;
    background: rgba(30, 1, 135, 0.18);
    color: #000000;
    box-shadow: 0 12px 32px rgba(0,0,0,0.24);
}

.login-slide-page .button-next-icon {
    width: 1em;
    height: 1em;
    font-size: 0.85rem;
}

.login-slide-page .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.32);
    transition: transform 0.2s ease, background 0.2s ease;
}

.login-slide-page .dot.active {
    background: #6366f1;
    transform: scale(1.2);
}

.login-slide-page .login-form {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(10px);
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.login-slide-page .login-form.active {
    opacity: 1;
    visibility: visible;
}

.login-slide-page .auth-shell {
    min-height: auto;
    padding: 0;
    background: transparent;
}

.login-slide-page .auth-card-wrapper {
    max-width: 440px;
}

.login-slide-page .auth-card {
    border-radius: 26px;
    overflow: hidden;
    background: rgba(255,255,255,0.96);
    box-shadow: 0 28px 70px rgba(0,0,0,0.18);
    border: 1px solid rgba(148,163,184,0.22);
}

.login-slide-page .auth-content {
    padding: 28px 24px 28px;
    background: transparent;
}

.login-slide-page .auth-note {
    margin-top: 16px;
}

.login-slide-page .button-next {
    padding: 8px 14px;
    font-size: 0.92rem;
}

.login-slide-page .button-next-icon {
    width: 1.2em;
    height: 1.2em;
    font-size: 0.9rem;
}

@media (max-width: 680px) {
    .login-slide-page .slide-controls {
        flex-direction: column;
        align-items: stretch;
        padding: 0 14px;
    }
    .login-slide-page .button-next {
        width: auto;
        justify-content: flex-start;
    }
}

.auth-footer {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.68);
}

.login-slider {
    width: 100%;
    max-width: 980px;
    margin: 0 auto 24px;
}

.slide-card {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 240px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.18);
    background: #000;
}

.slide-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.slide-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 18px;
}

.slide-counter {
    background: rgba(0, 0, 0, 0.45);
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 0.95rem;
}

.progress-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: transform 0.2s ease, background 0.2s ease;
}

.dot.active {
    background: #6366f1;
    transform: scale(1.2);
}

.button-next {
    border: none;
    border-radius: 999px;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #6366f1, #a78bfa);
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button-next:hover {
    transform: translateY(-1px);
}

.button-next-icon {
    display: inline-flex;
    width: 1.4em;
    height: 1.4em;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 50%;
    color: #111827;
    font-size: 1rem;
}

@media (max-width: 840px) {
    .slide-controls {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 16px;
    }
}

@media (max-width: 520px) {
    .slide-card {
        min-height: 180px;
    }
    .slide-controls {
        bottom: 12px;
        gap: 8px;
        padding: 12px 14px;
    }
}

.glass-alert {
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
}

.text-light-emphasis {
    color: #feffff !important;
}

.stat-card {
    padding: 14px;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.82);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.dashboard-page {
    background: #5e0b0b;
    background-repeat: no-repeat;
    background-size: cover;
}

.dashboard-logout-btn {
    margin-top: 16px;
    margin-bottom: 4px;
}

.admin-body {
    background: linear-gradient(180deg, #eef2ff 0%, #dbeafe 100%);
    color: #0f172a;
}

.admin-body .glass-card {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(148, 163, 184, 0.24);
}

.admin-body .glass-card h2,
.admin-body .glass-card h5,
.admin-body .glass-card .stat-label,
.admin-body .glass-card .hero-title,
.admin-body .glass-card p,
.admin-body .glass-card .btn-outline-light,
.admin-body .glass-card .btn-outline-light:hover {
    color: #0f172a;
}

.admin-body .btn-outline-light {
    color: #0f172a !important;
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(148, 163, 184, 0.35);
}

.admin-body .btn-outline-light:hover {
    background: rgba(241, 245, 255, 0.98);
    color: #0f172a !important;
}

.admin-body .btn-brand {
    background: linear-gradient(135deg, #4f46e5, #a78bfa) !important;
    color: #ffffff !important;
    border: none !important;
}

.admin-body .stat-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.92));
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.admin-body .stat-label {
    color: #475569;
}

.admin-body .stat-value {
    color: #111827;
}

.admin-body .glass-card p {
    color: #475569;
}

.dashboard-hero {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    padding: 22px;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(148,163,184,0.18);
    box-shadow: 0 28px 60px rgba(15,23,42,0.08);
    z-index: 1;
}

.dashboard-hero > * {
    position: relative;
    z-index: 1;
}

.hero-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.hero-menu {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    border: 1px solid rgba(99,102,241,0.18);
    background: #ffffff;
    color: #4f46e5;
    display: grid;
    place-items: center;
}

.hero-logo-shell {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: #ffffff;
    display: grid;
    place-items: center;
    border: 1px solid rgba(148,163,184,0.22);
}

.hero-logo-shell img {
    width: 38px;
    height: auto;
}

.hero-badge {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(99,102,241,0.15);
    color: #4f46e5;
    font-size: 0.85rem;
    font-weight: 700;
}

.hero-intro {
    margin-top: 20px;
}

.hero-welcome {
    margin: 0 0 6px;
    color: #475569;
    font-size: 0.95rem;
}

.hero-title {
    margin: 0;
    font-size: 2rem;
    line-height: 1.1;
    color: #0f172a;
}

.hero-stats {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.hero-stat {
    padding: 18px 14px 16px;
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid rgba(148,163,184,0.14);
    text-align: center;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
    min-height: 140px;
}

.hero-stat-icon {
    display: inline-flex;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    background: rgba(167,139,250,0.16);
    color: #7c3aed;
    font-size: 1.2rem;
}

.hero-stat-label {
    display: block;
    color: #6b7280;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    margin-bottom: 6px;
}

.hero-stat strong {
    display: block;
    font-size: 1.55rem;
    color: #111827;
    line-height: 1.1;
}

.points-hero {
    padding: 24px;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(254, 242, 241, 0.96), rgba(254, 228, 246, 0.88));
    border: 1px solid rgba(236, 72, 153, 0.24);
    box-shadow: 0 24px 48px rgba(236, 72, 153, 0.08);
}

.points-hero .hero-intro {
    margin-bottom: 18px;
}

.points-summary {
    gap: 14px;
}

.points-card {
    background: linear-gradient(180deg, #ffffff, #fdf2f8);
    border: 1px solid rgba(236, 72, 153, 0.18);
    box-shadow: 0 14px 26px rgba(236, 72, 153, 0.08);
}

.points-card .hero-stat-label {
    color: #be185d;
}

.points-card strong {
    font-size: 2.1rem;
    color: #111827;
}

.total-points-card {
    background: #ffffff;
    border: 1px solid rgba(236, 72, 153, 0.16);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.06);
}

.total-points-card h5 {
    margin-bottom: 0.5rem;
    color: #475569;
}

.total-points-card .display-4 {
    font-size: 2.6rem;
    color: #111827;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.quick-link {
 text-decoration: none;
    color: #111827;
    padding: 18px 16px;
    border-radius: 11px;
    background: rgb(255 255 255 / 60%);
    border: 2px solid rgb(236 72 153);
    display: block;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.mohit-box{
   
   width: 100%;
    padding: 18px 16px;
    border-radius: 11px;
    background: rgb(255 255 255);
    background: rgb(255 255 255 / 72%);
    display: block;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.quick-link:hover {
    transform: translateY(-3px);
    border-color: rgba(236,72,153,0.55);
    background: rgba(255,255,255,0.98);
}

.quick-link-label {
    font-size: 1rem;
    margin-bottom: 18px;
    text-align: left;
    color: #111827;
}

.quick-link-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    border-radius: 22px;
    background: rgba(236,72,153,0.12);
    display: grid;
    place-items: center;
    color: #be185d;
    font-size: 1.75rem;
}

.icon-badge {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(140deg, #c7d2fe, #ec4899);
    color: #ffffff;
}

.form-control,
.form-select {
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: #f8fafc;
    color: var(--text-dark);
}

.form-control::placeholder {
    color: rgba(71, 85, 105, 0.7);
}

.form-control:focus,
.form-select:focus {
    background: #ffffff;
    color: var(--text-dark);
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.16);
    border-color: #6366f1;
}

.btn-brand {
    border: 0;
    border-radius: 14px;
    padding: 11px 18px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(140deg, #6366f1, #a78bfa);
}

.btn-brand:hover {
    opacity: 0.96;
}

.table {
    --bs-table-bg: transparent;
}


.reward-image {
    width: 68px;
    height: 68px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.app-loader,
.offline-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.app-loader.active,
.offline-screen.active {
    opacity: 1;
    pointer-events: all;
}

.loader-box,
.offline-card {
    width: min(520px, calc(100% - 32px));
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 30px;
    padding: 28px;
    text-align: center;
    box-shadow: 0 28px 50px rgba(15, 23, 42, 0.08);
}

.loader-title,
.offline-title {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
}

.loader-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 20px;
}

.loader-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #22c55e, #4ade80);
    transition: width 0.3s ease;
}

.offline-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.offline-button {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: #fff;
    padding: 12px 18px;
    min-width: 140px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease;
}


.menu-toggle {
    border: 1px solid rgba(255,255,255,0.22);
    color: #ffffff;
    background: rgba(255,255,255,0.12);
    padding: 0;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.menu-toggle:hover {
    background: rgba(255,255,255,0.18);
}

.offline-button:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.14);
}

@media (min-width: 992px) {
    .mobile-shell {
        max-width: 780px;
    }

    .quick-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

