/*######################################################################
#
# DIGITAL CAMPUS INFORMATION
# INSTITUT TEKNOLOGI & BISNIS INDONESIA
#
# STYLE.CSS
#
# PART 2A
#
# RESET
# VARIABLE
# BODY
# WRAPPER
# HEADER
# INFORMATION BANNER
#
######################################################################*/


/*==========================================================
RESET
==========================================================*/

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}

html,
body{

    width:100%;

    height:100%;

}


/*==========================================================
VARIABLE
==========================================================*/

:root{

    --red:#B71C1C;

    --red-dark:#8E0000;

    --blue:#1565C0;

    --green:#2E7D32;

    --orange:#EF6C00;

    --purple:#6A1B9A;

    --cyan:#00838F;

    --navy:#0F172A;

    --gray:#F1F5F9;

    --gray2:#E2E8F0;

    --gray3:#CBD5E1;

    --text:#1E293B;

    --white:#FFFFFF;

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

    --radius:18px;

}


/*==========================================================
BODY
==========================================================*/

body{

    background:#EDF2F7;

    font-family:'Inter',sans-serif;

    color:var(--text);

    overflow:hidden;

}


/*==========================================================
WRAPPER
==========================================================*/

.wrapper{

    width:100vw;

    height:100vh;

    padding:18px;

    display:flex;

    flex-direction:column;

    gap:8px;

}


/*==========================================================
HEADER
==========================================================*/

.top-header{

    min-height:90px;

    background:

    linear-gradient(

    90deg,

    #7F0000,

    #B71C1C,

    #D32F2F

    );

    border-radius:20px;

    color:white;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 30px;

    box-shadow:var(--shadow);

}


/*==========================================================
HEADER LEFT
==========================================================*/

.header-left{

    display:flex;

    align-items:center;

    gap:20px;

}

.logo-area{

    width:78px;

    height:78px;

    background:white;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

}

.logo{

    width:58px;

}

.campus-area{

    display:flex;

    flex-direction:column;

    gap:5px;

}

.campus-title{

    font-size:34px;

    font-weight:800;

    letter-spacing:.5px;

}

.campus-subtitle{

    font-size:17px;

    opacity:.9;

    font-weight:500;

}

.campus-address{

    font-size:15px;

    opacity:.85;

}


/*==========================================================
HEADER RIGHT
==========================================================*/

.header-right{

    display:flex;

    align-items:center;

    gap:28px;

}

.header-date{

    display:flex;

    align-items:center;

    gap:14px;

}

.date-icon{

    font-size:34px;

}

#hari{

    font-size:17px;

    font-weight:700;

}

#tanggal{

    margin-top:3px;

    font-size:15px;

}

.header-clock{

    font-size:44px;

    font-weight:800;

    letter-spacing:2px;

}

.header-clock i{

    margin-right:10px;

    font-size:34px;

}

.live-status{

    background:#16A34A;

    padding:10px 18px;

    border-radius:40px;

    display:flex;

    align-items:center;

    gap:10px;

    font-size:15px;

    font-weight:700;

}

.live-dot{

    width:12px;

    height:12px;

    background:white;

    border-radius:50%;

    animation:blink 1s infinite;

}


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

.information-banner{

    min-height:78px;

    background:white;

    border-radius:18px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:0 25px;

    box-shadow:var(--shadow);

}

.banner-icon{

    width:58px;

    height:58px;

    border-radius:50%;

    background:#FFF3CD;

    color:#E65100;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:28px;

}

.banner-content{

    flex:1;

    padding:0 20px;

}

.banner-title{

    font-size:15px;

    color:#64748B;

    font-weight:700;

    text-transform:uppercase;

    margin-bottom:8px;

}

#infoAkademik{

    font-size:26px;

    font-weight:700;

    color:#0F172A;

    overflow:hidden;

    white-space:nowrap;

    text-overflow:ellipsis;

}

/*==========================================================
INFO SLIDER
==========================================================*/

.info-slide{

    display:none;

    width:100%;

    font-size:25px;

    font-weight:700;

    color:#0F172A;

    white-space:nowrap;

    position:relative;

    height:34px;

    overflow:hidden;

    text-overflow:ellipsis;

}

.info-slide.active{

    display:block;

    animation:fade .45s ease;

}

.banner-indicator{

    display:flex;

    gap:10px;

}

.banner-indicator span{

    width:12px;

    height:12px;

    border-radius:50%;

    background:#CBD5E1;

}

.banner-indicator .active{

    background:var(--red);

}


/*==========================================================
STATISTIK CONTAINER
==========================================================*/

.statistics{

    min-height:100px;

}

#statistikArea{

    width:100%;

    height:100%;

}


/*==========================================================
ANIMATION
==========================================================*/

@keyframes blink{

    0%{

        opacity:1;

    }

    50%{

        opacity:.25;

    }

    100%{

        opacity:1;

    }

}

/*######################################################################
#
# PART 2B
#
# STATISTIC CARD
#
######################################################################*/


/*==========================================================
STATISTICS
==========================================================*/

.statistics{

    width:100%;

    height:120px;

}

#statistikArea{

    width:100%;

    height:100%;

    display:grid;

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

    gap:18px;

}


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

.stat-card{

    border-radius:18px;

    color:#FFFFFF;

    display:flex;

    align-items:center;

    justify-content:flex-start;

    padding:18px 22px;

    box-shadow:var(--shadow);

    transition:.25s;

    overflow:hidden;

    position:relative;

}

.stat-card:hover{

    transform:translateY(-4px);

}


/*==========================================================
BACKGROUND COLOR
==========================================================*/

.stat-blue{

    background:linear-gradient(135deg,#1565C0,#42A5F5);

}

.stat-green{

    background:linear-gradient(135deg,#2E7D32,#66BB6A);

}

.stat-orange{

    background:linear-gradient(135deg,#EF6C00,#FFA726);

}

.stat-purple{

    background:linear-gradient(135deg,#6A1B9A,#AB47BC);

}

.stat-cyan{

    background:linear-gradient(135deg,#00838F,#26C6DA);

}


/*==========================================================
ICON
==========================================================*/

.stat-icon{

    width:68px;

    height:68px;

    border-radius:16px;

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

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:34px;

    flex-shrink:0;

}


/*==========================================================
TEXT
==========================================================*/

.stat-content{

    margin-left:18px;

    display:flex;

    flex-direction:column;

    justify-content:center;

}

.stat-number{

    font-size:38px;

    font-weight:800;

    line-height:1;

}

.stat-title{

    margin-top:8px;

    font-size:14px;

    font-weight:600;

    letter-spacing:.4px;

    text-transform:uppercase;

    opacity:.95;

}


/*==========================================================
LIGHT EFFECT
==========================================================*/

.stat-card::after{

    content:"";

    position:absolute;

    right:-35px;

    top:-35px;

    width:120px;

    height:120px;

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

    border-radius:50%;

}


/*==========================================================
LOADING CARD
==========================================================*/

.stat-loading{

    width:100%;

    height:100%;

    border-radius:18px;

    background:#FFFFFF;

    display:flex;

    justify-content:center;

    align-items:center;

    color:#64748B;

    font-size:18px;

    box-shadow:var(--shadow);

}


/*==========================================================
SMALL ICON EFFECT
==========================================================*/

.stat-icon i{

    opacity:.95;

}


/*==========================================================
NUMBER ANIMATION
==========================================================*/

.stat-number{

    transition:.4s;

}


/*==========================================================
CARD SPACING FIX
==========================================================*/

.stat-card *{

    position:relative;

    z-index:2;

}

/*######################################################################
#
# PART 2C
#
# LIVE CLASS
#
######################################################################*/


/*==========================================================
SECTION
==========================================================*/

.live-section{

    flex:1;

    display:flex;

    flex-direction:column;

    overflow:hidden;

}

.live-matakuliah{

    line-height:1.35;

    font-weight:600;

    word-break:break-word;

}


/*==========================================================
SECTION HEADER
==========================================================*/

.section-header{

    height:46px;

    border-radius:16px 16px 0 0;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:0 22px;

    color:#FFF;

    box-shadow:var(--shadow);

}

.section-header.red{

    background:linear-gradient(90deg,#8E0000,#C62828);

}

.section-header.blue{

    background:linear-gradient(90deg,#1565C0,#1E88E5);

}

.section-title{

    display:flex;

    align-items:center;

    gap:10px;

    font-size:20px;

    font-weight:700;

    letter-spacing:.4px;

}

.section-info{

    display:flex;

    align-items:center;

    gap:18px;

    font-size:15px;

    font-weight:600;

}

.divider{

    width:1px;

    height:24px;

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

}


/*==========================================================
TABLE HEADER
==========================================================*/

.table-header{

    height:52px;

    background:#E53935;

    color:#FFF;

    display:grid;

    grid-template-columns:
    60px
    2.1fr
    4fr
    120px
    70px
    110px
    120px
    160px;

    align-items:center;

    justify-items:center;

    font-size:15px;

    font-weight:700;

    padding:0 12px;

}


/*==========================================================
LIVE BODY
==========================================================*/

#jadwalLive{

    flex:1;

    overflow:hidden;

    display:flex;

    flex-direction:column;

}


/*==========================================================
ROW
==========================================================*/

.live-row{

    min-height:42px;

    padding:4px 10px;

    background:#FFF;

    border-radius:0px;

    display:grid;

    grid-template-columns:
    60px
    2.2fr
    3fr
    130px
    80px
    120px
    130px
    160px;

    align-items:center;

    padding:6px 10px;

    box-shadow:0 2px 8px rgba(0,0,0,.05);

    transition:.25s;

}

.live-row:hover{

    transform:translateX(4px);

    background:#F8FAFC;

}


/*==========================================================
CELL
==========================================================*/

.live-cell{

    display:flex;

    align-items:center;

    font-size:15px;

    color:#334155;

    line-height:1.5;

    justify-content:center;

}

.live-cell.center{

    justify-content:center;

}

.live-cell.bold{

    font-weight:700;

}


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

.status{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-width:135px;

    height:34px;

    border-radius:30px;

    font-size:13px;

    font-weight:700;

    color:#FFF;

}

.status-live{

    background:#16A34A;

}

.status-wait{

    background:#F59E0B;

}

.status-finish{

    background:#64748B;

}

.status-sick{

    background:#DC2626;

}

.status-permit{

    background:#EA580C;

}


/*==========================================================
NUMBER
==========================================================*/

.no-circle{

    width:34px;

    height:34px;

    border-radius:50%;

    background:#E2E8F0;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:14px;

    font-weight:700;

    color:#334155;

}


/*==========================================================
ROOM
==========================================================*/

.room{

    display:inline-block;

    background:#EEF2FF;

    color:#1E40AF;

    padding:6px 12px;

    border-radius:8px;

    font-weight:700;

    font-size:14px;

    white-space:nowrap;

}


/*==========================================================
SEMESTER
==========================================================*/

.semester{

    display:inline-flex;

    justify-content:center;

    align-items:center;

    padding:5px 10px;

    border-radius:8px;

    background:#ECFDF5;

    color:#166534;

    font-weight:700;

}


/*==========================================================
EMPTY
==========================================================*/

.empty-live{

    flex:1;

    display:flex;

    justify-content:center;

    align-items:center;

    flex-direction:column;

    color:#64748B;

}

.empty-live i{

    font-size:56px;

    margin-bottom:18px;

    opacity:.35;

}

.empty-live h2{

    font-size:24px;

    margin-bottom:10px;

}

.empty-live p{

    font-size:16px;

}


/*==========================================================
SCROLL FIX
==========================================================*/

#jadwalLive::-webkit-scrollbar{

    width:0;

}

/*######################################################################
#
# PART 2D
#
# NEXT CLASS
# FOOTER
# LOADING
# NOTIFICATION
# RESPONSIVE
#
######################################################################*/


/*==========================================================
NEXT SECTION
==========================================================*/

.next-section{

    min-height:110px;

    display:flex;

    flex-direction:column;

    flex-shrink:0;

}


/*==========================================================
NEXT GRID
==========================================================*/

.next-grid{

    flex:1;

    display:grid;

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

    gap:14px;

    background:#FFFFFF;

    padding:12px;

    border-radius:0 0 16px 16px;

    box-shadow:var(--shadow);

}


/*==========================================================
NEXT CARD
==========================================================*/

.next-card{

    background:#F8FAFC;

    border:1px solid #E2E8F0;

    border-radius:14px;

    padding:15px;

    display:flex;

    flex-direction:column;

    justify-content:center;

    transition:.25s;

}

/*==========================================================
NEXT PAGINATION
==========================================================*/

.next-page-hide{

    display:none !important;

}

.next-page-item{

    display:flex;

}

.next-page-transition{

    animation:pageFade .55s ease;

}

.next-card:hover{

    transform:translateY(-3px);

    box-shadow:0 6px 18px rgba(0,0,0,.08);

}


/*==========================================================
NEXT TITLE
==========================================================*/

.next-title{

    font-size:16px;

    font-weight:700;

    color:#0F172A;

    margin-bottom:10px;

}


/*==========================================================
NEXT DOSEN
==========================================================*/

.next-dosen{

    font-size:14px;

    color:#64748B;

    margin-bottom:12px;

}


/*==========================================================
NEXT INFO
==========================================================*/

.next-info{

    display:flex;

    justify-content:space-between;

    align-items:center;

    font-size:13px;

}

.next-room{

    background:#DBEAFE;

    color:#1D4ED8;

    padding:5px 10px;

    border-radius:8px;

    font-weight:700;

}

.next-time{

    background:#ECFDF5;

    color:#15803D;

    padding:5px 10px;

    border-radius:8px;

    font-weight:700;

}


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

.footer{

    height:42px;

    background:#0F172A;

    color:#FFF;

    border-radius:14px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:0 22px;

    font-size:14px;

    box-shadow:var(--shadow);

    flex-shrink:0;

}

.footer-left{

    display:flex;

    align-items:center;

    gap:14px;

}

.footer-item{

    display:flex;

    align-items:center;

    gap:8px;

}

.footer-divider{

    width:1px;

    height:18px;

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

}

.footer-right{

    font-weight:700;

    color:#FBBF24;

}


/*==========================================================
LOADING
==========================================================*/

#loadingOverlay{

    position:fixed;

    inset:0;

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

    display:none;

    justify-content:center;

    align-items:center;

    z-index:99999;

}

.loading-content{

    text-align:center;

}

.loader{

    width:70px;

    height:70px;

    border-radius:50%;

    border:7px solid #E2E8F0;

    border-top:7px solid var(--red);

    animation:spin 1s linear infinite;

    margin:auto;

}

.loading-text{

    margin-top:20px;

    font-size:18px;

    font-weight:700;

    color:#334155;

}


/*==========================================================
NOTIFICATION
==========================================================*/

#notificationArea{

    position:fixed;

    top:20px;

    right:20px;

    z-index:999999;

}

.notification{

    background:#16A34A;

    color:#FFF;

    padding:15px 18px;

    border-radius:10px;

    margin-bottom:10px;

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

}


/*==========================================================
UTILITY
==========================================================*/

.text-center{

    text-align:center;

}

.text-right{

    text-align:right;

}

.text-bold{

    font-weight:700;

}

.hidden{

    display:none;

}


/*==========================================================
ANIMATION
==========================================================*/

.fade{

    animation:fade .35s ease;

}

/*==========================================================
AUTO PAGINATION
==========================================================*/

.live-page-item{

    display:grid;

}

.live-page-hide{

    display:none !important;

}

.page-transition{

    animation:pageFade .55s ease;

}

@keyframes pageFade{

    from{

        opacity:0;

        transform:translateY(15px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

@keyframes fade{

    from{

        opacity:0;

        transform:translateY(8px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

@keyframes spin{

    to{

        transform:rotate(360deg);

    }

}

.pulse{

    animation:pulse 1.2s infinite;

}

@keyframes pulse{

    0%{

        transform:scale(1);

    }

    50%{

        transform:scale(1.06);

    }

    100%{

        transform:scale(1);

    }

}


/*==========================================================
RESPONSIVE TV
==========================================================*/

@media screen and (max-width:1600px){

    .campus-title{

        font-size:28px;

    }

    .header-clock{

        font-size:36px;

    }

    .stat-number{

        font-size:32px;

    }

    .live-row{

        height:48px;

    }

}