/*------------------------------- Dashboard Styles ----------------------------*/
:root{
    --link-btn-color:yellow;
}

@font-face {
    font-family: 'roboto';
    src: url('./fonts/Roboto-Condensed.ttf');
}

@font-face {
    font-family: 'oswald';
    src: url('./fonts/Oswald-VariableFont_wght.ttf');
}

/*------------ Chatbot -----------------*/
/* Floating button */
    #floatingBtn {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background-color: purple;
      color: white;
      border: none;
      border-radius: 50%;
      width: 60px;
      height: 60px;
      font-size: 24px;
      cursor: pointer;
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
      z-index: 1000;
    }

    /* Message box */
    #messageBox {
      display: none;
      position: fixed;
      bottom: 90px;
      right: 20px;
      width: 300px;
      background: white;
      border: 1px solid #ccc;
      border-radius: 10px;
      padding: 15px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      z-index: 999;
    }

    #messageBox textarea {
      width: 100%;
      height: 100px;
      resize: none;
    }

    #responseArea {
      margin-top: 10px;
      background: #f8f9fa;
      padding: 10px;
      border-radius: 5px;
      min-height: 100px;
    }

input[type="checkbox"]{ 
    accent-color: purple;
}

input[type="checkbox"]:checked{
    background: purple;
    border: 1px solid purple;
}

input[type="checkbox"], input[type="checkbox"]:focus{
    border: 1px solid purple !important;
}

button:disabled{
    cursor: not-allowed !important;
    pointer-events: all !important;
}

/* #login-form{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;

} */

body{
    background: rgb(244, 244, 244);
    font-family: 'roboto';
}

#navigation_bar{
    display: block;
}

.sign_lock{
    display: flex;
}

.link-header{
    border: 3px double #ffc107;
    margin-left:30%;
    margin-right:30%;
    margin-bottom:7px;
    margin-top:7px;
}

.hamburger{
    display: none;
}

.school-dashboard{
    display: flex;
    gap: 10px;
    margin-right:10px;
}

.dashboard-nav{
    width: 20%;
    background: linear-gradient(to bottom,  #09203f, #537895);
    overflow-x: hidden;
    overflow-y: auto;
    height: 100vh;
}

.academic-year{
    background:rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.5);
}

.system-header{
    border-radius: 5px;
    background: linear-gradient(#cfd6e6, #e7eff9);
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px;
    display: flex;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    justify-content: space-around;
    align-items: center;
    box-shadow: 2px 3px 3px rgb(98, 98, 98);
    transition: .3s all ease-in-out;
    cursor: pointer;
}

.system-header:hover{
    transform: scale(1.01);
}

.system-body{
    overflow-x: hidden;
    overflow-y: auto;
    height: 80vh;
    box-shadow: 3px 3px 7px black;
    padding: 15px 10px;
    margin-top: 25px;
    border-radius: 10px;
}

.system-header > div > div i{
    font-size: 30px;
    cursor: pointer;
}

.system-header h5{
    text-transform: uppercase;
    font-size: 25px;
}

.dashboard-nav a{
    color: white;
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;  
}

.dashboard-nav a:hover{
    color:yellow !important;
}

.dashboard-nav li{
    cursor: pointer;
    transition: .2s all ease-in-out;
    width: 100%;
    text-align: left;
    padding-left:10px;
}

.nav-title{
    color: white;
    font-size:18px;
    padding: 5px 5px 5px 15px;
    cursor: pointer;
    transition: .3s all ease-in-out;
}

.nav-item:hover{
    border-left:4px solid orange;
    border-top-left-radius: 7px;
    border-bottom-left-radius: 7px;
    margin-left: 10px;
    background: rgba(255,255,255,0.2);
}

/*----------------------- Home cards -------------------*/
.card-container{
    display: flex;
    justify-content: space-between;
}

.card-one{
    cursor:pointer;
    background:linear-gradient(to left, #cc2b5e, #753a88);
    transition: 1s all ease-in-out;
    box-shadow: 3px 5px 10px #42275a;
}

.card-two{
    cursor:pointer;
    background:linear-gradient(to left, #dd5e89, #f7bb97);
    transition: 1s all ease-in-out;
    box-shadow: 3px 5px 10px #42275a;
}

.card-three{
    cursor:pointer;
    background:linear-gradient(to left, #614385, #516395);
    transition: 1s all ease-in-out;
    box-shadow: 3px 5px 10px #9c2eb2;
}

.card-one:hover,.card-three:hover{
    transform: rotateY(-360deg);
}

.card-two:hover{
    transform: rotateX(-360deg);
}

/*------------------------------ Login ----------------------------*/
.login-body{
    background: linear-gradient(to right,  #09203f 10%, #537895 50%, #09203f);
}

.main-container{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-container{
    background: rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 80%;
    padding: 20px 40px;
    border: 2px rgba(255,255,255,0.5) solid;
    border-radius: 10px;
    position: absolute;   
}

.background-img{
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.background-img img{
    width: 300px;
    height: 300px;
    margin-top: 35%;
    opacity: 0.4;
    border-radius: 50%;
}

.login-container label{
    color: white;
    font-size: 18px;
    font-family: 'roboto';
}

.login-container input{
    color: black;
    font-size: 18px;
    font-family: 'roboto';
}

.user_section{
    padding-bottom: 10px;
    border-bottom: 4px double yellow;
}

/*----------------- Term Planner ------------------------*/
.term-planner{
    margin-top:20px;
    margin-bottom:30px;
    height: 7cm;
    overflow-y: auto;
    overflow-x: hidden;
    width: 40%;
    scrollbar-width: thin;
    scrollbar-color: blue;
    box-shadow: 4px 4px 10px black;
}

.term-planner > div{
    background: linear-gradient(to right, #c4c5c7 0%, #dcdddf 70%, #c4c5c7 100%);
    padding: 10px;
}

.term-planner p{
    font-size: 15px;
}

/*---------------------- Add Student Css ----------------------------*/
.add-student > div{
    display: flex;
    justify-content: space-around;
}

.add-student input{

}

.add-student label{
    font-size: 15px;
    font-weight: bold;
}

input,
textarea, 
select{
    box-shadow: none !important;
    outline: none !important;
}

input:focus,
textarea:focus,
select:focus{
    border: 1px black solid !important;
}

.button-container{
    display: flex;
    justify-content: space-between;
    width: 99%;
}

#print-std-data{
    background: orange !important;
    border: 1px orange solid !important;
}

.submit-btn{
    padding: 10px 20px 10px 20px;   
    background:purple;
    color:white;
    transition: .3s ease-in-out;
    border: 1px purple solid;
    text-transform: uppercase;
    font-size: 15px;
}

.submit-btn-disabled{
    padding: 10px 20px 10px 20px;   
    background:rgb(168, 168, 168);
    color:white;
    transition: .3s ease-in-out;
    border: 1px rgb(168, 168, 168) solid;
    text-transform: uppercase;
    font-size: 15px;
}

.submit-btn:hover{
    color:purple;
    background:white;
    border: 1px purple solid;
}

.more-btn{
    padding: 10px 20px 10px 20px;   
    background:rgb(128, 56, 0);
    color:white;
    transition: .3s ease-in-out;
    border: 1px rgb(128, 56, 0) solid;
    text-transform: uppercase;
    font-size: 15px;
}

.more-btn:hover{
    color:rgb(128, 56, 0);
    background:white;
    border: 1px rgb(128, 56, 0) solid;
}

.underline{
    border-bottom: 3px purple solid;
    padding: 3px 15px;
}

.class_list > div{
    padding: 5px;
    font-size: 16px;
}

.class_list > div:nth-child(even){
    background: grey;
    color: white;
}

/*--------------------------------------- SPINNER ---------------------------------------*/
.loader-container {
    position: absolute;
    top: 50vh;
}
.loader{
    width: 3rem;
    height: 3rem;
    border: 5px solid #09203f;
    border-top: 5px solid transparent;
    border-radius: 50%;
    animation: loader-rotate 1.5s infinite;
}
@keyframes loader-rotate {
    from {
        transform: rotate(0deg);
    }
    to{
        transform: rotate(360deg);
    }
}

.is_active{
    border:2px solid green;
    color: green;
    font-weight: bold;
    transition: .5s;
    border-radius: 15px;
}

.is_active:hover{
    background: green;
    color: white;
}

.is_inactive{
    border:2px solid grey;
    color: grey;
    font-weight: bold;
    transition: .5s;
    border-radius: 15px;
}

.is_inactive:hover{
    background: grey;
    color: white;
}

.positions-container, .departments-container{
    display: none;
}

/*----------------------------- BADGES ----------------------------------*/
.blue-badge{
    background: linear-gradient(to right,  #09203f 10%, #537895 50%, #09203f);
}

.purple-badge{
    background:linear-gradient(to left, #cc2b5e, #753a88);
}

#update_user_form input,
#update_user_form select {
    color: purple;
    font-weight: bold;
}

/*------------------------- Re-captcha ---------------------------*/
.g-recaptcha{
    margin-top:15px;
    margin-bottom:10px;
}

.question_paper_separator{
    border-bottom: purple dotted 3px;
    margin-top: 5px;
    margin-bottom: 5px;
}