/* ==========================================
   MASTER ANNIE V3
   LR Hospitality & Career Consultancy
========================================== */

/* ---------- RESET ---------- */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* ---------- ROOT COLORS ---------- */

:root{

    --primary:#00E5FF;
    --secondary:#00B8D4;
    --glass:rgba(20,20,20,.45);
    --background:#000;
    --text:#ffffff;
    --danger:#ff3b30;
    --success:#34c759;

}

/* ---------- BODY ---------- */

html,
body{

    width:100%;
    height:100%;
    overflow:hidden;

    background:#000;

    color:var(--text);

    font-family:
    "Segoe UI",
    Arial,
    sans-serif;

}
/* ==========================================
   CAMERA
========================================== */

#camera{

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;

    object-fit:cover;

    background:#000;

    z-index:-3;

}

/* ==========================================
   DARK GLASS OVERLAY
========================================== */

#overlay{

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,.35);

    backdrop-filter:blur(4px);

    z-index:-2;

}
/* ==========================================
   START SCREEN
========================================== */

#startScreen{

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:#000;

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:1000;

}

.startup-box{

    width:min(92%,520px);

    padding:45px;

    border-radius:28px;

    background:rgba(15,20,30,.55);

    backdrop-filter:blur(24px);

    border:1px solid rgba(0,229,255,.18);

    box-shadow:
        0 10px 40px rgba(0,0,0,.45),
        0 0 30px rgba(0,229,255,.08);

    text-align:center;

    animation:fadeUp .8s ease;

}

.startup-box h1{

    margin-top:18px;

    font-size:36px;

    font-weight:700;

    color:#ffffff;

    letter-spacing:2px;

    margin-bottom:8px;

}
.logo{
    width:120px;
    height:120px;
    object-fit:contain;
    margin:0 auto 25px;
    display:block;
}

.startup-box h2{

    color:#00E5FF;

    font-size:15px;

    letter-spacing:5px;

    font-weight:500;

    margin-bottom:20px;

}

.divider{

    width:70px;

    height:2px;

    background:#00E5FF;

    margin:18px auto;

    border-radius:5px;

    opacity:.8;

}

.tagline{

    color:#b9c6d0;

    font-size:15px;

    margin-bottom:28px;

}

.startup-box p{

    color:#d8d8d8;

    font-size:18px;

    margin-bottom:35px;

}

#startButton{

    width:100%;

    padding:13px;

    border:none;

    border-radius:14px;

    background:var(--primary);

    color:#000;

    font-size:1rem;

    font-weight:700;

    cursor:pointer;

    transition:.3s;

}

#startButton:hover{

    transform:scale(1.03);

    box-shadow:0 0 20px rgba(0,229,255,.5);

}
/* ==========================================
   HIDE UI BEFORE START
========================================== */


#studentCard{

    background:rgba(18,18,22,.60);

    backdrop-filter:blur(22px);

    border:1px solid rgba(0,229,255,.18);

    border-radius:26px;

    padding:28px;

}

#systemPanel{

    background:rgba(18,18,22,.60);

    backdrop-filter:blur(22px);

    border:1px solid rgba(0,229,255,.18);

    border-radius:26px;

    padding:28px;

}

@keyframes fadeUp{

    from{

        opacity:0;
        transform:translateY(40px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}
/* ==========================================
BOOT SCREEN
========================================== */

#bootScreen{

    position:fixed;

    inset:0;

    background:#000;

    display:none;

    justify-content:center;

    align-items:center;

    z-index:5000;

}

.bootCard{

    width:min(90%,520px);

    padding:45px;

    border-radius:24px;

    background:rgba(20,20,20,.60);

    backdrop-filter:blur(18px);

    border:1px solid rgba(0,229,255,.25);

    box-shadow:
        0 0 35px rgba(0,229,255,.18);

    text-align:center;

}

.bootCard h2{

    color:var(--primary);

    font-size:32px;

    margin-bottom:30px;

}

.progress{

    width:100%;

    height:12px;

    background:#1f1f1f;

    border-radius:50px;

    overflow:hidden;

    margin-bottom:20px;

}

#progressBar{

    width:0%;

    height:100%;

    background:linear-gradient(
        90deg,
        #00E5FF,
        #00B8D4
    );

    transition:width .4s ease;

}

#bootStatus{

    color:#d8d8d8;

    font-size:18px;

}
/*==================================================
BACKGROUND
==================================================*/

.background{

    position:fixed;
    inset:0;

    overflow:hidden;

    background:
    radial-gradient(circle at top,#101827,#050608 70%);

    z-index:-10;

}

/* Soft Cyan Glow */

.glow{

    position:absolute;

    width:700px;
    height:700px;

    border-radius:50%;

    filter:blur(140px);

    opacity:.12;

    animation:floatGlow 16s ease-in-out infinite;

}

.glow1{

    background:#00d9ff;

    top:-250px;
    left:-180px;

}

.glow2{

    background:#009dff;

    right:-220px;
    bottom:-260px;

    animation-delay:8s;

}

/* Slow Moving Wave */

.gradient{

    position:absolute;

    inset:0;

    background:

    linear-gradient(
    135deg,
    transparent 20%,
    rgba(0,229,255,.03) 50%,
    transparent 80%);

    animation:moveGradient 18s linear infinite;

}
@keyframes floatGlow{

    0%,100%{

        transform:translate(0,0);

    }

    50%{

        transform:translate(80px,-60px);

    }

}

@keyframes moveGradient{

    from{

        transform:translateX(-8%);

    }

    to{

        transform:translateX(8%);

    }

}
/*==================================================
FEATURE ROW
==================================================*/

.featureRow{

    margin-top:36px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:12px;

}

.feature{

    flex:1;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

}

.feature .icon{

    display:flex;

    justify-content:center;

    align-items:center;

    margin-bottom:6px;

}

.feature .icon .material-symbols-rounded{

    font-size:40px;

    font-variation-settings:
        'FILL' 1,
        'wght' 600,
        'GRAD' 0,
        'opsz' 48;

    color:#00E5FF;

    filter:
        drop-shadow(0 0 5px rgba(0,229,255,.6))
        drop-shadow(0 0 10px rgba(0,229,255,.35));

    transition:.3s;

}

.feature span{

    font-size:14px;

    color:#d7d7d7;

}

.separator{

    width:1px;

    height:42px;

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

}
/*==================================================
DASHBOARD
==================================================*/

.leftPanel{

    width:360px;

    display:flex;

    flex-direction:column;

    gap:20px;

}

.rightPanel{

    flex:1;

    display:flex;

    flex-direction:column;

    gap:20px;

}

/*==================================================
SMART ID ROOT
==================================================*/

#smartID{

    position:fixed;

    inset:0;

    display:none;

    flex-direction:column;

    justify-content:flex-start;

    align-items:center;

    padding:35px;

    overflow-y:auto;

    z-index:20;

    padding-bottom:100px;

}
/*==================================================
DASHBOARD LAYOUT
==================================================*/

#dashboard{

    width:100%;

    max-width:1200px;

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    gap:30px;

    margin-bottom:25px;

}


/*==================================================
GLASS CARD
==================================================*/

.glassCard{

    background:rgba(18,22,30,.62);

    backdrop-filter:blur(22px);

    border:1px solid rgba(0,229,255,.18);

    border-radius:24px;

    padding:25px;

    box-shadow:

        0 10px 30px rgba(0,0,0,.35),

        inset 0 1px 0 rgba(255,255,255,.05);

}
/*==================================================
PHOTO
==================================================*/

#photoContainer{

    position:relative;

    display:flex;

    justify-content:center;

    align-items:center;

    margin:20px 0 30px;

}
#photoContainer::before{

    content:"";

    position:absolute;

    width:215px;

    height:215px;

    border-radius:50%;

    background:radial-gradient(
        circle,
        rgba(0,217,255,.35) 0%,
        rgba(0,217,255,.15) 45%,
        rgba(0,217,255,0) 75%
    );

    filter:blur(18px);

    z-index:1;

}

#studentPhoto{

    width:185px;

    height:185px;

    object-fit:cover;

    border-radius:50%;

    border:3px solid #ffffff;

    position:relative;

    z-index:2;

    box-shadow:
        0 0 0 4px #00D9FF,
        0 0 18px rgba(0,217,255,.45),
        0 0 40px rgba(0,217,255,.25);

    transition:.35s;

}
/*==================================================
STUDENT INFO
==================================================*/

#studentName{

    font-size:34px;

    font-weight:700;

    margin-top:25px;

    margin-bottom:8px;

    text-align:center;

}

#studentID{

    color:#00E5FF;

    text-align:center;

    font-size:17px;

    letter-spacing:2px;

    margin-bottom:25px;

}
/*==================================================
DETAILS CARD
==================================================*/

/*==================================================
STUDENT INFORMATION CARD
==================================================*/

#detailsCard{

    width:100%;

    max-width:1200px;

    margin:25px auto;

    background:rgba(18,22,30,.62);

    backdrop-filter:blur(22px);

    border:1px solid rgba(0,229,255,.18);

    border-radius:24px;

    padding:28px;

}
#detailsCard h3{

    color:#00E5FF;

    font-size:24px;

    margin-bottom:25px;

    font-weight:700;

}
.infoRow{

    display:grid;

    grid-template-columns:180px 1fr;

    align-items:center;

    padding:16px 0;

    border-bottom:1px solid rgba(255,255,255,.08);

}

.infoRow:last-child{

    border-bottom:none;

}

.infoRow span{

    color:#8fdfff;

    font-weight:600;

    font-size:15px;

}

.infoRow p{

    color:#ffffff;

    font-size:15px;

}
/*==================================================
SYSTEM STATUS CARD
==================================================*/

#systemCard{

    min-height:240px;

}

#systemCard h3{

    color:#00E5FF;

    font-size:24px;

    margin-bottom:25px;

    font-weight:700;

}

.statusRow{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:14px 0;

    border-bottom:1px solid rgba(255,255,255,.08);

}

.statusRow:last-child{

    border-bottom:none;

}

.statusLabel{

    display:flex;

    align-items:center;

    gap:12px;

    color:white;

    font-size:16px;

    font-weight:600;

}

.statusIcon{

    font-size:22px;

    color:#00E5FF;

    margin-right:10px;

    vertical-align:middle;

    font-variation-settings:
        'FILL' 1,
        'wght' 500,
        'GRAD' 0,
        'opsz' 24;

}

.statusValue{

    color:#8fdfff;

    font-size:15px;

    font-weight:500;

}
/*==================================================
STUDENT CARD 2.0
==================================================*/

.cardHeader{

    text-align:center;

    margin-bottom:22px;

}

.cardHeader h3{

    color:#ffffff;

    font-size:22px;

    margin-bottom:6px;

    font-weight:700;

}

.cardHeader span{

    color:#00E5FF;

    font-size:12px;

    letter-spacing:4px;

}

#studentCard{

    text-align:center;

}

.studentBadges{

    display:flex;

    justify-content:center;

    gap:15px;

    margin-top:25px;

}

.statusBadge{

    display:flex;

    align-items:center;

    gap:6px;

    padding:8px 18px;

    border-radius:50px;

    background:rgba(0,255,120,.12);

    color:#7CFF9B;

    font-size:14px;

}

.batchBadge{

    padding:8px 18px;

    border-radius:50px;

    background:rgba(0,229,255,.12);

    color:#00E5FF;

    font-size:14px;

}
/*==================================================
ATTENDANCE PANEL
==================================================*/

#attendancePanel{

    display:flex;

    flex-direction:column;

    gap:25px;

}

#attendancePanel h3{

    color:#00E5FF;

    font-size:24px;

    margin-bottom:5px;

    font-weight:700;

}

.attendanceGrid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:18px;

}

.attendanceItem{

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    height:95px;

    background:linear-gradient(
        180deg,
        rgba(255,255,255,.05),
        rgba(255,255,255,.02)
    );

    border:1px solid rgba(0,229,255,.15);

    border-radius:18px;

    transition:.25s;

}

.attendanceItem:hover{

    border-color:rgba(0,229,255,.35);

    transform:translateY(-2px);

}

.attendanceLabel{

    color:#7FDFFF;

    font-size:11px;

    letter-spacing:1px;

    text-transform:uppercase;

    margin-bottom:8px;

}

.attendanceItem p{

    color:#FFFFFF;

    font-size:24px;

    font-weight:700;

    letter-spacing:.5px;

    white-space:nowrap;

    line-height:1.1;

}

.buttonGroup{

    display:flex;

    justify-content:center;

    gap:20px;

    margin-top:10px;

}

.buttonGroup button{

    flex:1;

    max-width:220px;

    padding:14px;

    border:none;

    border-radius:14px;

    background:#00E5FF;

    color:#000;

    font-size:15px;

    font-weight:700;

    cursor:pointer;

    transition:.25s;

}

.buttonGroup button:hover{

    transform:translateY(-2px);

    box-shadow:0 0 20px rgba(0,229,255,.35);

}
/*=========================================
LIVE DATE & CLOCK
=========================================*/

.dateTimeCard{

    text-align:center;

    padding:18px;

    margin:15px 0 25px;

    border-radius:18px;

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

    border:1px solid rgba(0,229,255,.15);

}

#liveTime{

    font-size:34px;

    color:var(--primary);

    font-weight:700;

    letter-spacing:2px;

}

#liveDate{

    margin-top:8px;

    color:#B7C9D6;

    font-size:15px;

}
/*=========================================
MOBILE RESPONSIVE
=========================================*/

@media (max-width:768px){

    #dashboard{

        display:flex;

        flex-direction:column;

        width:95%;

        margin:20px auto;

        gap:20px;

    }

    .leftPanel{

        width:100%;

    }

    .rightPanel{

        width:100%;

        flex:none;

    }

}
/*=========================================
TOAST NOTIFICATION
=========================================*/

#toast{

    position:fixed;

    top:25px;

    left:50%;

    transform:translateX(-50%) translateY(-30px);

    background:#16c6e8;

    color:#fff;

    padding:14px 28px;

    border-radius:10px;

    font-weight:600;

    font-size:15px;

    box-shadow:0 10px 30px rgba(0,0,0,.35);

    opacity:0;

    pointer-events:none;

    transition:.35s;

    z-index:99999;

}

#toast.show{

    opacity:1;

    transform:translateX(-50%) translateY(0);

}
/*=========================================
PERMISSION MESSAGE
=========================================*/

#permissionMessage{

    display:none;

    margin-top:18px;

    padding:14px;

    background:rgba(255,193,7,.12);

    border:1px solid rgba(255,193,7,.35);

    border-radius:10px;

    color:#ffd54f;

    font-size:14px;

    line-height:1.6;

    text-align:left;

}
/*=========================================
BOTTOM NAVIGATION
=========================================*/

#bottomNav{
    display:none;

    position:fixed;

    bottom:20px;

    left:50%;

    transform:translateX(-50%);

    width:340px;

    display:flex;

    justify-content:space-around;

    align-items:center;

    padding:16px 18px;

    border-radius:20px;

    background:rgba(15,20,30,.75);

    backdrop-filter:blur(18px);

    border:1px solid rgba(0,255,255,.15);

    z-index:9999;

}

.navButton{

    background:none;

    border:none;

    color:#aaa;

    display:flex;

    flex-direction:column;

    align-items:center;

    cursor:pointer;

    font-size:22px;

    transition:.3s;

}
.navButton .material-symbols-rounded{

    color: inherit;

}

.navButton span:last-child{

    font-size:13px;

    margin-top:4px;

}

.navButton.active{

    color:#00e5ff;

}

.material-symbols-rounded{

    font-size:32px;

    font-variation-settings:
        'FILL' 1,
        'wght' 500,
        'GRAD' 0,
        'opsz' 48;

    margin-bottom:6px;

    transition:.3s;

}
.navButton{

    color:#7b8794;

}

.navButton.active{

    color:#00e5ff;

}

.navButton.active .material-symbols-rounded{

    transform:scale(1.15);

}
/*=========================================
STUDENT ID PAGE
=========================================*/

#profilePage{

    display:flex;

    justify-content:center;

    align-items:flex-start;

    padding:40px 20px;

}

.studentIDCard{

    width:100%;

    max-width:500px;

    background:rgba(18,25,35,.75);

    backdrop-filter:blur(20px);

    border:1px solid rgba(0,229,255,.15);

    border-radius:24px;

    padding:30px;

    box-sizing:border-box;

    box-shadow:0 15px 40px rgba(0,0,0,.35);

}

.studentHeader{

    text-align:center;

}

.studentHeader h2{

    margin-top:12px;

    color:#ffffff;

}

.studentHeader p{

    color:#00E5FF;

    letter-spacing:3px;

    font-size:13px;

}

.studentLogo{

    width:70px;

}

.studentPhotoBox{

    display:flex;

    justify-content:center;

    margin:25px 0;

}

#profilePhoto{

    width:150px;

    height:150px;

    border-radius:50%;

    object-fit:cover;

    border:4px solid #00E5FF;

}

#profileName{

    text-align:center;

    margin-bottom:8px;

}

#profileID{

    text-align:center;

    color:#00E5FF;

    margin-bottom:20px;

}

.studentSection{

    margin-top:25px;

}

.studentSection h3{

    color:#00E5FF;

    margin-bottom:15px;

}

.profileRow{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:10px 0;

    border-bottom:1px solid rgba(255,255,255,.08);

}

.profileRow span{

    color:#8f9fb0;

}

.profileRow p{

    color:white;

    text-align:right;

    max-width:55%;

}
.miniLogo{

    width:42px;

    height:42px;

    margin-right:12px;

}
.cardHeader{

    display:flex;

    align-items:center;

    justify-content:center;

    margin-bottom:25px;

    text-align:left;

}

.cardHeader h3{

    margin:0;

    color:white;

}

.cardHeader span{

    color:#00E5FF;

    font-size:12px;

    letter-spacing:2px;

}
.historyCard{

    margin-top:20px;

    padding:18px;

    border-radius:18px;

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

    border:1px solid rgba(255,255,255,.08);

}
#historyList{

    margin-top:20px;

}

.historyCard h3{

    color:#00E5FF;

    margin-bottom:12px;

}

.historyCard p{

    margin:6px 0;

}
.historyContainer{

    width:100%;

    max-width:420px;

    margin:20px auto 100px;

    padding:0 18px;

    box-sizing:border-box;

}
.historyIcon{

    font-size:20px;

    vertical-align:middle;

    margin-right:8px;

    color:#00E5FF;

    font-variation-settings:
        'FILL' 1,
        'wght' 500,
        'GRAD' 0,
        'opsz' 24;

}

.green{

    color:#4CAF50;

}

.red{

    color:#F44336;

}

.orange{

    color:#FF9800;

}
.historyCard{

    background:rgba(18,24,34,.75);

    border:1px solid rgba(0,229,255,.15);

    border-radius:22px;

    padding:22px;

    margin-bottom:22px;

    backdrop-filter:blur(18px);

    box-shadow:0 10px 30px rgba(0,0,0,.25);

}
.historyHeader{

    display:flex;

    align-items:center;

    gap:10px;

    font-size:18px;

    font-weight:600;

    color:#ffffff;

    margin-bottom:22px;

}
.historyGrid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:16px;

    margin-bottom:22px;

}
.historyItem{

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

    border-radius:16px;

    padding:16px;

    text-align:center;

}
.historyTitle{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:6px;

    font-size:13px;

    color:#9FB4C8;

    margin-bottom:12px;

}
.historyTime{

    font-size:24px;

    font-weight:700;

    color:white;

}
.historyHours{

    text-align:center;

    margin:22px 0;

}
.hoursLabel{

    color:#9FB4C8;

    font-size:13px;

}
.hoursValue{

    font-size:38px;

    font-weight:700;

    color:#00E5FF;

    margin-top:8px;

}
.historyFooter{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-top:22px;

    font-size:14px;

}
.statusChip{

    padding:8px 16px;

    border-radius:50px;

    background:rgba(0,255,120,.15);

    color:#6CFF8D;

    font-weight:600;

}
.statusChip.Completed{

    background:rgba(34,197,94,.18);

    color:#4ADE80;

}

.statusChip.CheckedIn{

    background:rgba(245,158,11,.18);

    color:#FBBF24;

}
.historyDateHeader{

    display:flex;

    align-items:center;

    gap:12px;

    margin:30px 0 18px;

    font-size:15px;

    font-weight:700;

    color:#00E5FF;

    text-transform:uppercase;

    letter-spacing:1px;

}

.historyDateHeader::after{

    content:"";

    flex:1;

    height:1px;

    background:rgba(0,229,255,.25);

}
/*=========================================
ATTENDANCE SUMMARY
=========================================*/

#summaryCard{

    background:rgba(18,24,34,.75);

    border:1px solid rgba(0,229,255,.15);

    border-radius:22px;

    padding:22px;

    margin-bottom:28px;

    backdrop-filter:blur(18px);

    box-shadow:0 10px 30px rgba(0,0,0,.25);

}

.summaryTitle{

    display:flex;

    align-items:center;

    gap:10px;

    color:#00E5FF;

    font-size:18px;

    margin-bottom:20px;

}

.summaryTitle .material-symbols-rounded{

    font-size:24px;

    font-variation-settings:
        'FILL' 1,
        'wght' 500,
        'GRAD' 0,
        'opsz' 24;

}

.summaryGrid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:16px;

}

.summaryItem{

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

    border:1px solid rgba(255,255,255,.06);

    border-radius:16px;

    padding:18px 10px;

    text-align:center;

    transition:all .25s ease;

    cursor:default;

}
.summaryItem:hover{

    transform:translateY(-4px);

    border-color:rgba(0,229,255,.35);

    box-shadow:0 8px 20px rgba(0,229,255,.12);

}

.summaryNumber{

    display:block;

    font-size:38px;

    font-weight:700;

    line-height:1;

    margin-bottom:10px;

}

.summaryLabel{

    font-size:13px;

    color:#9FB4C8;

}
#presentCount{

    color:#4ADE80;

}

#pendingCount{

    color:#FBBF24;

}

#hoursCount{

    color:#00E5FF;

}
.summaryTitle{

    display:flex;

    align-items:center;

    gap:10px;

    color:#00E5FF;

    font-size:18px;

    margin-bottom:16px;

    padding-bottom:14px;

    border-bottom:1px solid rgba(0,229,255,.15);

}
/*=========================================
ATTENDANCE RATE CARD
=========================================*/

.attendanceRateCard{

    margin-top:22px;

    padding:18px;

    border-radius:18px;

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

    border:1px solid rgba(255,255,255,.06);

}

.attendanceRateHeader{

    display:flex;

    align-items:center;

    gap:8px;

    color:#00E5FF;

    font-weight:600;

    margin-bottom:18px;

}

.attendanceRateHeader .material-symbols-rounded{

    font-size:22px;

}
#attendanceRateValue{

    font-size:42px;

    font-weight:700;

    text-align:center;

    color:#00E5FF;

    margin-bottom:18px;

}
.progressBar{

    height:10px;

    width:100%;

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

    border-radius:50px;

    overflow:hidden;

}

#attendanceProgress{

    width:0%;

    height:100%;

    border-radius:50px;

    background:linear-gradient(90deg,#00E5FF,#00FFA3);

    transition:width .6s ease;

}