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

:root{
    --navy:#102b50;
    --navy-dark:#0b203c;
    --blue:#2858a5;
    --blue-light:#edf4ff;
    --ink:#18263b;
    --muted:#738198;
    --line:#e5eaf1;
    --bg:#f5f7fb;
    --white:#fff;
    --green:#16845b;
    --amber:#a56a0a;
    --red:#a22d36;
    --shadow:0 8px 28px rgba(16,43,80,.055);
    --public-shadow:0 24px 70px rgba(16,43,80,.11);
}

*{
    box-sizing:border-box;
}

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

body{
    margin:0;
    background:var(--bg);
    color:var(--ink);
    font:15px/1.55 'DM Sans',Arial,sans-serif;
}

h1,h2,h3,.top-title{
    font-family:Manrope,'DM Sans',sans-serif;
    letter-spacing:-.035em;
}

h1{
    font-size:30px;
    margin:0 0 8px;
}

h2{
    font-size:19px;
    margin:0 0 14px;
}

p{
    color:#627087;
}


/* =========================================================
   ADMIN LAYOUT
========================================================= */

.app-shell{
    min-height:100vh;
    display:flex;
}

.sidebar{
    width:248px;
    flex-shrink:0;
    background:var(--navy);
    color:#fff;
    padding:28px 18px;
    display:flex;
    flex-direction:column;
    min-height:100vh;
}

.brand{
    display:flex;
    align-items:center;
    gap:11px;
    color:inherit;
    text-decoration:none;
    margin:0 8px 40px;
}

.brand-mark{
    width:42px;
    height:42px;
    border:1px solid #6f91c2;
    border-radius:13px;
    display:grid;
    place-items:center;
    font:800 25px Manrope;
    color:#fff;
    background:#ffffff0d;
}

.brand-name{
    font:800 18px Manrope;
    letter-spacing:.16em;
}

.brand-sub{
    font-size:9px;
    letter-spacing:.18em;
    color:#aebed5;
    margin-top:2px;
}

.nav-caption{
    font-size:10px;
    letter-spacing:.16em;
    color:#91a7c6;
    font-weight:700;
    padding:0 12px 12px;
}

.nav-link{
    display:block;
    text-decoration:none;
    color:#c6d2e4;
    padding:12px 13px;
    border-radius:10px;
    margin:3px 0;
    font-weight:600;
    font-size:14px;
}

.nav-link:hover,
.nav-link.active{
    background:#ffffff15;
    color:white;
}

.nav-link.active{
    box-shadow:inset 3px 0 #8fb7ff;
}

.sidebar-bottom{
    margin-top:auto;
    border-top:1px solid #ffffff20;
    padding:22px 10px 0;
    color:#aebed5;
    font-size:12px;
    line-height:2;
}

.sidebar-bottom a{
    display:block;
    color:#fff;
    text-decoration:none;
    margin-top:12px;
}

.online-dot{
    display:inline-block;
    width:7px;
    height:7px;
    background:#4bd49b;
    border-radius:50%;
    margin-right:7px;
}

.app-main{
    min-width:0;
    flex:1;
    display:flex;
    flex-direction:column;
}

.topbar{
    height:88px;
    background:#fff;
    border-bottom:1px solid var(--line);
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:16px 36px;
    gap:15px;
}

.eyebrow{
    font-size:10px;
    letter-spacing:.16em;
    font-weight:700;
    color:#8a96a8;
}

.top-title{
    font-weight:800;
    font-size:22px;
}

.admin-chip{
    background:#f0f4fa;
    border:1px solid #e3eaf4;
    border-radius:30px;
    padding:8px 13px;
    font-size:12px;
    color:#50617a;
    font-weight:700;
}

.content{
    padding:32px 36px;
    max-width:1500px;
    width:100%;
    margin:0 auto;
    flex:1;
}

.page-intro{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
    margin-bottom:24px;
}

.page-intro p{
    margin:6px 0 0;
}

.muted{
    color:var(--muted);
}

.card{
    background:#fff;
    border:1px solid var(--line);
    border-radius:16px;
    padding:24px;
    margin:18px 0;
    box-shadow:var(--shadow);
    min-width:0;
}

.card-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:16px;
}

.card-head h2{
    margin:0;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:16px;
    margin:22px 0;
}

.stat-card{
    background:#fff;
    border:1px solid var(--line);
    border-radius:16px;
    padding:20px;
    box-shadow:var(--shadow);
}

.stat-label{
    color:var(--muted);
    font-size:12px;
    font-weight:700;
}

.stat-value{
    font:800 30px Manrope;
    margin:9px 0 4px;
    letter-spacing:-.04em;
}

.stat-foot{
    font-size:12px;
    color:#8b97a9;
}

.stat-icon{
    width:38px;
    height:38px;
    border-radius:12px;
    background:#edf3fc;
    color:var(--blue);
    display:grid;
    place-items:center;
    font-size:19px;
    margin-bottom:15px;
}

.grid-two{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}

.btn,
button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    background:var(--blue);
    color:white;
    border:0;
    border-radius:9px;
    padding:11px 16px;
    font:700 13px 'DM Sans',sans-serif;
    text-decoration:none;
    cursor:pointer;
    transition:.15s;
}

.btn:hover,
button:hover{
    background:#1d478d;
}

.btn-secondary{
    background:#f0f4fa;
    color:var(--navy);
    border:1px solid #dfe7f2;
}

.btn-secondary:hover{
    background:#e7edf6;
}

.btn-danger{
    background:#fff0f0;
    color:#a22d36;
    border:1px solid #f5d7d9;
}

label{
    display:block;
    font-size:12px;
    font-weight:700;
    color:#45546a;
    margin:15px 0 6px;
}

input,
select,
textarea{
    width:100%;
    padding:12px 13px;
    border:1px solid #dce3ed;
    border-radius:9px;
    background:#fff;
    font:14px 'DM Sans',sans-serif;
    color:var(--ink);
    outline:none;
}

input:focus,
select:focus,
textarea:focus{
    border-color:#7fa4e1;
    box-shadow:0 0 0 3px #2858a51a;
}

.tiers{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    margin:10px 0;
}

.table-wrap{
    overflow-x:auto;
    width:100%;
}

table{
    width:100%;
    border-collapse:collapse;
    min-width:620px;
}

th{
    text-align:left;
    font-size:10px;
    letter-spacing:.09em;
    text-transform:uppercase;
    color:#8a96a8;
    background:#f8fafd;
    font-weight:700;
}

td,
th{
    padding:14px 13px;
    border-bottom:1px solid #edf0f5;
    vertical-align:middle;
}

td{
    font-size:13px;
}

tbody tr:hover{
    background:#fafcff;
}

tr:last-child td{
    border-bottom:0;
}

.badge{
    display:inline-flex;
    border-radius:30px;
    padding:5px 9px;
    font-size:11px;
    font-weight:700;
}

.badge.success{
    background:#e8f7ef;
    color:#14764f;
}

.badge.warning{
    background:#fff4df;
    color:#946008;
}

.badge.muted{
    background:#eef1f5;
    color:#637087;
}

.alert{
    padding:12px 15px;
    border-radius:10px;
    background:#edf7f1;
    color:#176b49;
    margin:14px 0;
    font-size:13px;
}

.error{
    background:#fff0f0;
    color:#a22d36;
}

.empty-state{
    text-align:center;
    padding:30px;
    color:var(--muted);
}

.narrow{
    max-width:520px;
    margin:35px auto;
}

.center{
    text-align:center;
}

.app-footer{
    padding:18px 36px;
    border-top:1px solid var(--line);
    font-size:11px;
    color:#8995a6;
}

.app-footer span{
    padding:0 5px;
}


/* =========================================================
   LOGIN
========================================================= */

.login-shell{
    min-height:100vh;
    display:grid;
    place-items:center;
    padding:24px;
    background:
        radial-gradient(ellipse at top left,#e4edf9,transparent 50%),
        var(--bg);
}

.login-shell .card{
    width:100%;
    max-width:440px;
    padding:34px;
}

.login-brand{
    display:flex;
    justify-content:center;
    margin-bottom:24px;
}

.login-shell .brand-name{
    color:var(--navy);
}


/* =========================================================
   CUSTOMER / PUBLIC REWARD EXPERIENCE
========================================================= */

.public-header{
    min-height:82px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;

    padding:
        18px
        max(20px,calc((100% - 1040px)/2));

    background:
        linear-gradient(
            135deg,
            #0b203c 0%,
            #102b50 55%,
            #173d70 100%
        );

    color:white;

    box-shadow:
        0 10px 30px
        rgba(11,32,60,.10);
}

.public-header .brand{
    margin:0;
    color:#fff;
}

.public-header .brand-mark{
    width:46px;
    height:46px;

    border-color:
        rgba(255,255,255,.27);

    background:
        rgba(255,255,255,.08);

    border-radius:14px;
}

.public-header .brand-name{
    color:#fff;
}

.public-header .brand-sub{
    color:#b9c9de;
}

.secure-note{
    font-size:12px;
    color:#cad6e6;
    font-weight:600;
}

.public-main{
    width:100%;
    max-width:650px;

    min-height:
        calc(100vh - 165px);

    margin:0 auto;

    padding:
        42px 18px 48px;
}

.public-main .card,
.reward-card{
    width:100%;
    max-width:580px;

    margin:0 auto;

    padding:
        clamp(25px,5vw,42px);

    border:
        1px solid #e1e7f0;

    border-radius:24px;

    background:#fff;

    box-shadow:
        var(--public-shadow);
}

.public-main .center{
    text-align:center;
}


/* Gift icon */

.gift-orb{
    width:78px;
    height:78px;

    display:grid;
    place-items:center;

    margin:
        0 auto 20px;

    border-radius:25px;

    background:
        linear-gradient(
            145deg,
            #102b50,
            #2858a5
        );

    color:#fff;

    font-size:35px;

    box-shadow:
        0 18px 42px
        rgba(16,43,80,.22);
}


/* Customer heading */

.public-main .eyebrow{
    margin:
        0 0 9px;

    color:#728198;

    font-size:10px;
    font-weight:800;

    letter-spacing:.18em;
}

.public-main h1{
    margin:
        0 0 13px;

    color:#102b50;

    font-size:
        clamp(27px,6vw,37px);

    line-height:1.12;

    font-weight:800;

    letter-spacing:-.04em;
}

.public-main .center > p:not(.eyebrow){
    max-width:450px;

    margin:
        0 auto;

    color:#65758b;

    font-family:
        'Noto Sans Bengali',
        'DM Sans',
        sans-serif;

    font-size:
        clamp(15px,3.5vw,17px);

    line-height:1.75;
}


/* =========================================================
   REWARD DISPLAY
========================================================= */

.slot-wrap{
    position:relative;

    overflow:hidden;

    margin:
        29px 0 23px;

    padding:
        29px 18px;

    text-align:center;

    border:
        1px solid #dbe5f2;

    border-radius:22px;

    background:
        radial-gradient(
            circle at 50% 0,
            #eaf3ff 0%,
            #f7faff 42%,
            #fff 76%
        );
}

.slot-wrap::before{
    content:"";

    position:absolute;

    top:-100px;
    left:50%;

    width:230px;
    height:170px;

    transform:
        translateX(-50%);

    border-radius:50%;

    background:
        rgba(61,113,186,.10);

    filter:
        blur(25px);

    pointer-events:none;
}

.slot-label{
    position:relative;

    color:#77879c;

    font-size:10px;
    font-weight:800;

    letter-spacing:.20em;
}

.slot-amount{
    position:relative;

    margin:
        8px 0;

    color:#102b50;

    font-family:
        Manrope,
        'DM Sans',
        sans-serif;

    font-size:
        clamp(52px,13vw,76px);

    font-weight:800;

    line-height:1.12;

    letter-spacing:-.055em;

    transition:
        transform .3s ease,
        filter .3s ease;
}

.sparkles{
    position:relative;

    color:#6c8fbe;

    font-size:17px;

    letter-spacing:.28em;
}

.is-animating .slot-amount{
    filter:blur(1px);

    transform:
        scale(.97);
}

.settled{
    box-shadow:
        0 20px 55px
        rgba(40,88,165,.13);
}

.settled .slot-amount{
    filter:none;

    animation:
        rewardPop .55s
        cubic-bezier(.2,.8,.3,1.2);
}

@keyframes rewardPop{

    0%{
        transform:scale(.70);
        opacity:.35;
    }

    70%{
        transform:scale(1.10);
        opacity:1;
    }

    100%{
        transform:scale(1);
    }
}


/* =========================================================
   STATUS / INFORMATION
========================================================= */

.status-panel{
    margin:
        22px 0;

    padding:
        18px;

    border:
        1px solid #dfe7f1;

    border-radius:15px;

    background:#f8fafc;
}

.status-panel strong{
    display:block;

    margin-bottom:5px;

    color:#102b50;

    font-size:15px;
    font-weight:800;
}

.status-panel p{
    margin:
        5px 0 0;

    color:#65758b;

    font-size:14px;

    line-height:1.65;
}


/* =========================================================
   REVEAL AREA
========================================================= */

.reveal-panel{
    padding:
        23px 0 4px;

    text-align:center;
}

.reveal-panel p{
    margin:
        0 0 18px;

    color:#68778b;

    font-size:14px;

    line-height:1.65;
}

.reveal-btn{
    width:100%;

    min-height:56px;

    border-radius:12px;

    background:
        linear-gradient(
            135deg,
            #102b50,
            #2858a5
        );

    font-size:14px;

    letter-spacing:.045em;

    box-shadow:
        0 12px 26px
        rgba(16,43,80,.16);
}

.reveal-btn:hover{
    background:
        linear-gradient(
            135deg,
            #0c2341,
            #204b8c
        );

    transform:
        translateY(-1px);
}

.reveal-btn:disabled{
    opacity:.65;

    cursor:wait;

    transform:none;
}


/* =========================================================
   CUSTOMER CLAIM FORM
========================================================= */

.customer-form{
    display:block;

    width:100%;

    margin-top:
        25px;
}

.customer-form label{
    display:block;

    width:100%;

    margin:
        15px 0 7px;

    color:#35465d;

    font-size:13px;

    font-weight:700;
}

.customer-form label span{
    color:#8592a3;

    font-weight:400;
}

.customer-form input,
.customer-form textarea,
.customer-form select{
    display:block;

    width:100%;

    max-width:100%;

    min-height:48px;

    margin:0;

    padding:
        12px 14px;

    border:
        1px solid #d5deea;

    border-radius:11px;

    background:#fff;

    color:#18263b;

    font:
        15px/1.45
        'DM Sans',
        Arial,
        sans-serif;

    outline:none;

    transition:
        border-color .15s ease,
        box-shadow .15s ease,
        background .15s ease;
}

.customer-form textarea{
    min-height:105px;

    resize:vertical;
}

.customer-form input:hover,
.customer-form textarea:hover{
    border-color:#bdcada;
}

.customer-form input:focus,
.customer-form textarea:focus,
.customer-form select:focus{
    border-color:#668fc9;

    box-shadow:
        0 0 0 4px
        rgba(40,88,165,.10);
}

.customer-form button{
    width:100%;

    min-height:53px;

    margin-top:
        22px;

    border-radius:11px;

    background:
        linear-gradient(
            135deg,
            #102b50,
            #2858a5
        );

    font-size:14px;

    font-weight:700;

    letter-spacing:.035em;

    box-shadow:
        0 12px 26px
        rgba(16,43,80,.15);
}

.customer-form button:hover{
    background:
        linear-gradient(
            135deg,
            #0c2341,
            #204b8c
        );

    transform:
        translateY(-1px);
}


/* Customer status link */

.public-main .btn{
    width:100%;

    min-height:50px;

    margin-top:17px;

    border-radius:11px;

    background:
        linear-gradient(
            135deg,
            #102b50,
            #2858a5
        );
}


/* =========================================================
   CAMPAIGN / ADMIN V2
========================================================= */

.tier-row{
    display:grid;

    grid-template-columns:
        1.4fr .8fr .8fr auto;

    gap:10px;

    align-items:center;

    margin:
        9px 0;
}

.inline-check{
    display:flex;

    align-items:center;

    gap:7px;

    margin:0;

    white-space:nowrap;
}

.inline-check input{
    width:auto;
}

.progress{
    height:6px;

    background:#edf1f6;

    border-radius:20px;

    overflow:hidden;

    margin-top:7px;

    min-width:120px;
}

.progress i{
    display:block;

    height:100%;

    background:#2858a5;

    border-radius:20px;
}

.action-row{
    display:flex;

    gap:6px;

    flex-wrap:wrap;
}


/* =========================================================
   PUBLIC FOOTER
========================================================= */

.public-footer{
    text-align:center;

    padding:
        5px 20px 32px;

    color:#8995a6;

    font-size:12px;

    font-weight:600;

    letter-spacing:.03em;
}


/* =========================================================
   TABLET
========================================================= */

@media(max-width:1050px){

    .sidebar{
        width:215px;
    }

    .content{
        padding:
            25px 22px;
    }

    .topbar{
        padding:
            15px 22px;
    }

    .stats-grid{
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:720px){

    .app-shell{
        display:block;
    }

    .sidebar{
        width:100%;
        min-height:auto;
        padding:15px;
        display:block;
    }

    .sidebar .brand{
        margin:
            0 4px 16px;
    }

    .sidebar .nav-caption,
    .sidebar-bottom{
        display:none;
    }

    .sidebar nav{
        display:flex;
        overflow-x:auto;
    }

    .nav-link{
        white-space:nowrap;
        margin:0 3px;
        padding:10px;
        font-size:12px;
    }

    .topbar{
        height:auto;
        padding:15px 18px;
    }

    .top-title{
        font-size:19px;
    }

    .admin-chip{
        display:none;
    }

    .content{
        padding:
            20px 14px;
    }

    .stats-grid{
        gap:10px;
    }

    .stat-card{
        padding:15px;
    }

    .stat-value{
        font-size:25px;
    }

    .grid-two{
        grid-template-columns:1fr;
    }

    .card{
        padding:17px;
        margin:13px 0;
    }

    .page-intro{
        display:block;
    }

    .page-intro .btn{
        margin-top:14px;
    }

    .app-footer{
        padding:15px;
    }


    /* Public mobile */

    .public-header{
        min-height:74px;

        padding:
            14px 16px;
    }

    .public-header .brand-mark{
        width:42px;
        height:42px;

        border-radius:13px;

        font-size:22px;
    }

    .public-header .brand-name{
        font-size:16px;
    }

    .public-header .brand-sub{
        font-size:8px;
    }

    .secure-note{
        display:none;
    }

    .public-main{
        margin:0 auto;

        padding:
            22px 12px 36px;
    }

    .public-main .card,
    .reward-card{
        padding:
            25px 18px;

        border-radius:19px;
    }

    .gift-orb{
        width:66px;
        height:66px;

        border-radius:21px;

        font-size:30px;
    }

    .slot-wrap{
        margin:
            23px 0 20px;

        padding:
            24px 12px;

        border-radius:18px;
    }

    .status-panel{
        padding:16px;
    }

    .tier-row{
        grid-template-columns:
            1fr 1fr;
    }

    .tier-row .inline-check{
        grid-column:
            1/-1;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media(max-width:390px){

    .stats-grid{
        grid-template-columns:
            1fr 1fr;
    }

    .stat-value{
        font-size:22px;
    }

    .public-main{
        padding-left:9px;
        padding-right:9px;
    }

    .public-main .card,
    .reward-card{
        padding:
            22px 15px;
    }

    .slot-amount{
        font-size:52px;
    }
}

/* =========================================================
   AURAA BRAND LOGO
   ========================================================= */

.brand-logo-mark{
    overflow:hidden;
    padding:0 !important;
}

.brand-logo-image{
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
    padding:5px;
}

/* Customer/public header */
.public-header .brand-logo-mark{
    background:#ffffff !important;
}

/* Admin sidebar */
.sidebar .brand-logo-mark{
    background:#ffffff;
}

/* Mobile */
@media (max-width:640px){

    .brand-logo-image{
        padding:4px;
    }

}
.payment-logo{
    width:72px;
    height:58px;
    padding:8px 10px;

    background:#ffffff;

    border:
        1px solid
        #e4e9f0;

    border-radius:14px;

    overflow:hidden;
}

.payment-logo img{
    display:block;

    width:100%;
    height:100%;

    object-fit:contain;
}






