/* ===========================================
   NUSACODE AI
   Layout Style
=========================================== */

/* =============================
   LOADING
============================= */

#loadingPage{

    display:flex;
    justify-content:center;
    align-items:center;

}

.loading-container{

    width:100%;
    max-width:650px;

    text-align:center;

    padding:40px;

}

.loading-container h1{

    margin-top:25px;
    margin-bottom:15px;

}

.loading-container p{

    margin-top:20px;

}

/* =============================
   INTRO
============================= */

#introPage{

    justify-content:center;
    align-items:center;
    text-align:center;

    padding:50px;

}

.intro-content{

    max-width:900px;

}

#typingText{

    font-size:42px;
    line-height:1.5;

}

/* =============================
   DASHBOARD
============================= */

#dashboardPage{

    display:flex;

}

/* =============================
   SIDEBAR
============================= */

.sidebar{

    width:260px;

    background:rgba(255,255,255,.04);

    backdrop-filter:blur(20px);

    border-right:1px solid rgba(255,255,255,.08);

    padding:30px;

}

.brand{

    font-size:28px;

    font-weight:bold;

    color:var(--primary);

    margin-bottom:50px;

    letter-spacing:2px;

}

/* =============================
   MENU
============================= */

.sidebar ul{

    list-style:none;

}

.sidebar li{

    padding:16px;

    border-radius:14px;

    margin-bottom:12px;

    transition:.3s;

    cursor:pointer;

}

.sidebar li:hover{

    background:rgba(255,255,255,.08);

    transform:translateX(8px);

}

.activeMenu{

    background:linear-gradient(
    90deg,
    rgba(56,189,248,.20),
    rgba(139,92,246,.15)
    );

    border-left:4px solid var(--primary);

}

/* =============================
   MAIN
============================= */

.main{

    flex:1;

    padding:45px;

}

/* =============================
   HEADER
============================= */

.header{

    margin-bottom:40px;

}

.header h1{

    font-size:38px;

    margin-bottom:10px;

}

.header p{

    max-width:650px;

}

/* =============================
   CARD
============================= */

.cards{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

}

.card{

    padding:30px;

}

.card h3{

    color:var(--text2);

    margin-bottom:10px;

}

.card h1{

    color:var(--primary);

    margin-bottom:10px;

}

/* =============================
   ACTION
============================= */

.action{

    margin-top:45px;

}

.action button{

    min-width:240px;

    height:55px;

    font-size:18px;

}

/* =============================
   RESPONSIVE
============================= */

@media(max-width:1100px){

.cards{

grid-template-columns:1fr;

}

}

@media(max-width:900px){

.sidebar{

width:90px;

padding:15px;

}

.brand{

font-size:15px;

}

.sidebar li{

font-size:13px;

padding:12px;

}

.main{

padding:20px;

}

}

@media(max-width:700px){

#dashboardPage{

flex-direction:column;

}

.sidebar{

width:100%;

height:auto;

}

}


.loading-wrapper{

display:flex;

align-items:center;

justify-content:space-between;

gap:70px;

width:90%;

max-width:1200px;

}

.loading-left{

flex:1;

text-align:center;

}

.loading-right{

flex:1;

background:rgba(255,255,255,.05);

padding:35px;

border-radius:20px;

border:1px solid rgba(255,255,255,.08);

}

.loading-right h3{

margin-bottom:25px;

color:var(--primary);

}

.status-item{

margin-bottom:20px;

}

.status-item span{

display:block;

margin-bottom:8px;

color:#ddd;

}

.mini-bar{

height:8px;

background:#1e293b;

border-radius:20px;

overflow:hidden;

}

.mini-fill{

height:100%;

width:0;

background:linear-gradient(90deg,#38BDF8,#8B5CF6);

transition:1s;

}