 /* CSS Rest */
* {
    vertical-align: baseline;
    font-weight: inherit;
    font-family: inherit;
    font-style: inherit;
    font-size: 100%;
    border: 0 none;
    outline: 0;
    padding: 0;
    margin: 0;
    }

    body {
    padding: 0px;
    margin: 0px;
    }

    h1, h2, h3, h4, h5, h6, p, pre, blockquote, form, ul, ol, dl {
    margin: 20px 0;
    }

    li, dd, blockquote {
    margin-left: 40px;
    }

    table {
    border-collapse: collapse;
    border-spacing: 0;
    }


    /* 
    --------------End CSS Rest---------------
    ___________________________________________
    */

    html, body {
        height: 100vh;
        margin: 0;
        padding: 0;
        /* overflow: hidden; */
    }

/* Body Styling */
/* html, body {
    height: 100%;
    margin: 0;
}

#settings {
    display: grid;
    place-items: center;
    height: 100vh;
    overflow: hidden;
} */



#index{
    background: linear-gradient(180deg, #1E6CB4 25.96%, #393A7B 111.57%);
}



.header_section{
    grid-row: 1/2;
    /* width: 100%; */
    /* height: 10em; */
    background: url('public/assets/images/header01.png'); /*#2F2E41;*/
    border-left: 10px solid #9002D2;
    border-radius: 0px 51px; 
    
    display: grid;
    grid-template-columns: 70% 30%;
    grid-template-rows: auto;

    background-size:contain;
    background-position: left;
    background-repeat: no-repeat;

}

/* index main stying */

/* Base styles for index page */


#index {
    min-height: 100vh;
    background: linear-gradient(180deg, #1E6CB4 25.96%, #393A7B 111.57%);
    display: flex;
    flex-direction: column;
}


/* #container-index {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem;
    background: #6C63FF;
    border-radius: 3.188rem;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);
    overflow: hidden;
} */

.hero-img {
    background: #ffffff;
    border-radius: 51px 0 0 51px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-img img {
    max-width: 100%;
    height: 0 auto;
    object-fit: contain;
}

.log_signup-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    gap: 1rem;
}

.log_signup-section p {
    color: #ffffff;
    font-family: 'Source Code Pro', monospace;
    text-transform: uppercase;
    margin: 0.5rem 0;
}

.signupBtn, .loginBtn {
    width: 100%;
    max-width: 286px;
    padding: 1rem;
    font-size: clamp(1rem, 2vw, 2rem);
    font-family: 'Source Code Pro', monospace;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.signupBtn {
    background: #F29A2E;
    color: #ffffff;
}

.loginBtn {
    background-color: transparent;
    border: 2px solid #FFFFFF;
    color: #ffffff;
}


/* Styling the login page */

#container-login{
    /* display: grid;
    grid-template-columns: 30% 60%;
    background: linear-gradient(180deg, #1E6CB4 25.96%, #393A7B 111.57%);
    margin: 0 auto;
    height: 100%;
    gap: 10%;
    padding: 2rem; */
}

.login_img{
    /* display: flex;
    justify-content: center;
    align-items: center;
    grid-column: 1/2;
    background: #1E6CB4;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.25); 
    border-radius: 10px; */

    /* width: 100%;
    height: 100%; */
}

.login_img img{
    /* max-width: 100%;
    height: auto;
    padding: 1rem; */
}

.login_form{
    /* grid-column: 2/3;
    margin: 0 auto;
    width: 100%;
    max-width: 500px; */
}

.login_form > div{
    /* margin-top: 8em;
    padding: 0 1rem; */

}

.login_form h2{
    /* font-family: 'Source Code Pro';
    font-weight: 700;
    font-size: 36px;
    line-height: 45px;
    text-transform: uppercase;
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 2em; */

}

.input_field{
    width: 100%;
    height: 2.5em;
    background-color: rgba(255, 255, 255, 0);
    border-bottom: 2px solid #fff;
    padding: 0.5em;
    font-family: 'Source Code Pro';
    color: #fff;
    font-size: 1rem;
}

.btn{
    width: 100%;
    max-width: 286px;
    height: 57px; 
    background-color: rgba(255, 255, 255, 0);
    font-size: 1.5em;
    font-weight: 600;
    font-family: 'Source Code Pro';
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    color: #fff;
    text-align: center;
    border: 2px solid #FFFFFF;
    border-radius: 10px;
    padding: 10px;
    margin: 1em 0;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: rgb(255, 255, 255, 0.1);
}

.login_form form > label{
    /* font-family: 'Source Code Pro', monospace;
    font-size: 1.25rem;
    color: #fff;
    display: block;
    margin-bottom: 0.5; */
    
}
.login_form form > a{
    /* font-size: 1rem;
    font-family: 'Source Code Pro', monospace;
    color: #fff;
    text-decoration: none;
    display: block;
    text-align: center;
    margin-top: 1rem; */
}

.login_form form > a:hover{
    /* color: #F29A2E; */
}


/* Styling for Home Page */

#container-home{
    display: grid;
    grid-template-columns: repeat(16,1fr);
    grid-template-rows: repeat(16,1fr);
    gap: 12px;
    background: linear-gradient(180deg, #1E6CB4 25.96%, #393A7B 111.57%);
    height: 100vh;
    padding: 2em;
}

#nav_section{
    grid-column: 1/2;
    grid-row: 1/ span 17;
    background: #2F2E41;
    width: auto;
    height: 100vh;
    padding: 0.5em;
    background: #2F2E41;
    border-right: 9px solid #9002D2;
    border-radius: 51px 0px 0px 51px;   
}

.active{
    background: rgba(217, 217, 217, 0.01);
    border: 1px solid #F29A2E;
    box-shadow: inset 0px 0px 4px 1px rgba(255, 208, 55, 0.51);
    border-radius: 15px;
    padding: 0.5em;
}

.nav ul li{
    text-align: center;
    list-style: none;
    margin: 0.2em auto;
   
}

.nav ul li a{
    font-family: 'Source Code Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    text-transform: uppercase;
    color: #FFFFFF;
    text-decoration: none;
}

.logout{
    margin-top: 8em;
}

.logout button{
    width: 84px;
    height: 34px;
    left: 51px;
    top: 871px;
    background: #F29A2E;
    border-radius: 8px;
    margin: auto;

    font-family: 'Source Code Pro';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    text-transform: uppercase;
    color: #FFFFFF;
    cursor: pointer;
    }

.logout button:hover{
    background: #FF0000;
}

#main_section{
    grid-column: 2/17;
    grid-row: 1/17;
    background: rgba(255, 255, 255, 0);

    display: grid;
    grid-template-columns: auto;
    grid-template-rows: 30% 70%;
    gap: 12px;
    padding-bottom: 0px;
}




.anouncements{
    position: relative;
    grid-row: 2/auto;
    grid-column: 1/2;
    margin-bottom: 2em;
}

.anouncements span {
    position:absolute;
    bottom: 0px;
    left: 16px;
    background-color: #6C63FF;
    border-radius: 6px;
    padding: 0.2em;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}

.proDetails{
    grid-column: 2/3;
    background: linear-gradient(270deg, #9002D2 80%, rgba(203, 202, 207, 0) 100%);
    /* background: #9002D2; */
    background-size: contain    ;     
    border-radius: 0px 51px;

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 2fr;
}

.proDetails h3{
    font-family: 'Source Code Pro';
    font-style: normal;
    font-weight: 600;
    font-size: 36px;
    line-height: 45px;
    text-transform: uppercase;
    color: #FFFFFF;

}

.userInfo{
    font-family: 'Source Code Pro';
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 12px;
    text-transform: uppercase;
    color: #FFFFFF;
}

/*content_section */
.content_section{
    grid-row: 2/3;
    background: #2F2E41;
    border-radius: 0 0 2em 2em;
    width: 100%;
    height: 100%;
    margin-bottom: 0px;
}

/*Member content_section */
.content_section_members{
    background: #2F2E41;
    border-radius: 2em 0 2em 2em;
    overflow: scroll;
}

.content_section_members h1{
    color: #fff;
    font-size: 45px;
    text-align: center;
}

.member-cards{
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    column-gap: 0.5em;
    border-radius: 20px;
    background: #E6EAEE;
    width: 416px;
    height: 222px;
    padding: 0.5em;
    margin: 0.5em;
}

.memberImg{
    width: 150px;
    height: 200px;
    background: #D9D9D9; 
    border-radius: 10px; 
    filter: drop-shadow(0px 0px 5px #4444dd);
}
.memberImg img{
    width:111.93px;
    height: 141.82px;
    background: #535461;
    border-radius: 10px; 
    margin: 0.5em 1em 0 1em;
}


.member-cards_layout{
    grid-column: 1/4;
    grid-row-start: 2;
    
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;

    margin-left: 6em;
}

.memberRole{
    grid-column: 1/4;
    color: #fff;
    position: absolute;
    top: 11em; 
    left: 2.5em;
    
}
.memberRole p{
    width: 68.24px;
    height: 12.57px;
    font-size: 12px;
    background-color: #F29A2E;
    border-radius: 10px;
    padding: 0.5em;
    text-align: center;
}

.memberName{
    grid-column: 1/4;
    color: #000;
    position: absolute;
    top: 9.5em; 
    left: 1em;
}

.memberName h3{
    font-size: 0.7em;
    text-transform: uppercase;
}

.viewProfile_Btn{
    grid-column: 3/4;
    grid-row:2/3;
    margin: auto;
}

.viewProfile_Btn button{ 
    font-family: 'Source Code Pro';
    font-style: normal;
    font-size: 12px;
    background: #F29A2E;
    border-radius: 15px;
    color: #F2F2F2;
    padding: 0.5em 0.8em;
    text-transform: uppercase;
    cursor: pointer;
}
/* 
.memberSkills{
    
} */

.badges{
    background: #444053;
}



.userInfo{
grid-column: 1/ span 2;
grid-row: 1/2;
margin-left: 2em;
}

.branding{
    grid-column: 1/3;
    grid-row:2/3;
    width: 400px;
    margin-left: 8em;   
}

.branding img{
    display: inline-block;
}

.branding .sb_Logo{ 
    width: 10em;
    height: auto;
    margin-bottom: 2em;
}

.branding .tcn_Logo{ 
    width: 10em;
    height: auto;
    margin-bottom: 2em;
}



/* Sign in Page Styling */
#signin{
    overflow: hidden;
}


#signin-container{
    background: linear-gradient(180deg, #1E6CB4 25.96%, #393A7B 111.57%);
    height: 100vh;
    margin: 0 auto;
}
.dailyRegTitle {
    font-family: 'Source Code Pro';
    font-style: normal;
    font-weight: 600;
    font-size: 64px;
    line-height: 80px;
    text-transform: uppercase;
    color: #FFFFFF;
    margin: 0 auto;
    padding: 25px;
    text-align: center;
    }
    /* .dailyRegTitle{

    } */
#userSign-in_OutContainer{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 2em;
    justify-content: center;
}

/*      Attendance signIn Model box
-----------------------------------------------
*/
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #3f3d56;
    border-radius: 15px;
    margin: 15% auto;
    padding: 20px;
    border: 2px solid #ff9900;
    width: 50%;
}

/* Add Error for incorrect password*/
.modal-content {
    transition: border 0.5s;
}

.modal-content.error {
    border: 2px solid #FF0000;
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

.modal-content.shake {
    animation: shake 0.5s;
}


.incorrectPassword{
    visibility: hidden;
    color: #FF0000;
    font-weight: bold;
    font-size: 18px;
}

.incorrectPassword.show {
    visibility: visible;
    
}

.logoutSuccess{
    visibility: hidden;
}
.logoutSuccess.logoutSuccessShow{
    visibility: visible;
}


.close {
    color: red;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.modal-content form input{
    height: 15px;
    background: #D9D9D9;
    border-radius: 51px;
    padding: 0.5em 2em ;
    margin: 0 0.5em;

    font-family: 'Source Code Pro';
    font-style: normal;
    font-weight: 200;
    font-size: 24px;
    line-height: 30px;
    color: #000000;
}
.modal-content form :nth-child(1){
    font-family: 'Source Code Pro';
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 30px;
    color: #fff;  
}
.modal-content form :nth-child(2){
    width: 25px;   
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
}
.modal-content form :nth-child(3){
    font-family: 'Source Code Pro';
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 30px;
    color: #fff;  
}



.modal-content form button{
    font-family: 'Source Code Pro';
    font-style: normal;
    font-size: 16px;
    background: #F29A2E;
    border-radius: 15px;
    color: #F2F2F2;
    padding: 0.5em 0.8em;
    text-transform: uppercase;
    cursor: pointer;
}




/*
__________________________________________________
                End of model styling
*/


.userSignin{
    grid-column: 1/2;
    justify-content: center;
    margin: 2em;
    
}


.userSignin p{
    font-family: 'Source Code Pro';
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    text-transform: uppercase;
    color: #FFFFFF;
    text-align: center;
}

.userSignin-box{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;

    width: 1020px;
    height: 610px;
    background: #3F3D56;
    border: 6px solid #D9D9D9;
    border-radius: 25px;
    margin: 0 auto;
    padding: 0.5em;
    overflow: scroll;
    }


.search_users{
    position: relative;
    grid-column: 1/4;
    grid-row: 1/2;
    margin: 2em auto;
}
.user-cards{
    grid-column: 1/4;
    grid-row-start: 2;
    
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
}

.search-label {
    position: absolute;
    top: 0.6em;
    left: 12px;
    transform: translateY(10%);
    }



.search_users input{
    width: 691px;
    height: 35px;
    background: #D9D9D9;
    border-radius: 51px;
    padding: 0.5em 2em ;

    font-family: 'Source Code Pro';
    font-style: normal;
    font-weight: 200;
    font-size: 24px;
    line-height: 30px;
    color: #000000;
    }

.userSignedin{
    grid-column: 2/3;
    margin-top: 2.5em;
}

.userSignedin p{
    font-family: 'Source Code Pro';
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 30px;
    text-transform: uppercase;
    color: #FFFFFF;
    text-align: center;
}

.userSingedin-box{
    background: #3F3D56;
    width: 350px;
    height: 600px;
    border: 6px solid #F29A2E;
    border-radius: 15px;
    margin: 0 auto;
    padding: 1em;
    /* overflow-y: auto; */
    overflow: scroll;
}

/* .signOutUserCards{

} */

.userSignin_card{
    grid-column: 1 span 3;
    grid-row: auto;


    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    column-gap: 0.5em;
    border-radius: 25px;
    background: #E6EAEE;
    width: 300px;
    height: auto;
    padding: 0.5em;
    margin: 0.5em;
}
.proImg{
    grid-column: 1/2;
    grid-row:1/3;
    /* background: #2F2E41;
    border-radius: 30px;
    /* width: 800px;
    height: 800px; */ 
    margin: auto;
}

.proImg img{
    width: 80px;
    height: 110px;
}
/*
.userDetails{
     background-color: rgba(255, 255, 255,0.5); 
}*/

.userName{
    grid-column: 2/4;
    grid-row:1/2;
    text-align: left;
}

.userName h3{
    font-family: 'Source Code Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 5px;
    text-transform: uppercase;
    color: #000000;
}

.userRole{
    grid-column: 2/3;
    grid-row:2/3;
    text-align: left;
}

.userRole p{
    font-family: 'Source Code Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 5px;
    text-transform: uppercase;
    color: #000000;
    }

.signBtn{
    grid-column: 3/4;
    grid-row:2/3;
    margin: auto;
}

.signBtn button{
    font-family: 'Source Code Pro';
    font-style: normal;
    font-size: 16px;
    background: #F29A2E;
    border-radius: 15px;
    color: #F2F2F2;
    padding: 0.5em 0.8em;
    text-transform: uppercase;
    cursor: pointer;
}

.signBtn button:hover{
    background: #74E34D;
}

.signBtnOut button{
    font-family: 'Source Code Pro';
    font-style: normal;
    font-size: 16px;
    background: #F29A2E;
    border-radius: 15px;
    color: #F2F2F2;
    padding: 0.5em;
    text-transform: uppercase;
    cursor: pointer;
}
.signBtnOut button:hover{
    background: #FF0000;
}

#signOut-modal {
    position: fixed;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px; 
    font-size: 28px;
    font-weight: 900    ;
    text-align: center;
    color: #fff;
    padding: 20px; 
    background-color: #8CC86E; 
    border: 1px solid #43AF0C;
    border-radius: 20px; 
    animation: popUp 0.5s ease-out forwards, glow 1.5s infinite alternate;
  }
  
  @keyframes popUp {
    from {
      transform: translateX(-50%) translateY(100%);
    }
    to {
      transform: translateX(-50%) translateY(0);
    }
  }

  @keyframes glow {
    from {
      box-shadow: 0 0 5px rgba(140, 200, 110, 0.555);
    }
    to {
      box-shadow: 0 0 20px rgba(140, 200, 110, 1);
    }
  } 


  /*User list*/
#userlist{
    overflow: hidden;
}

table{
    border: 1px solid #000;
    margin-left: 20px;
    background-color: #e3e3e3;
}   

table thead{
    background-color: #2F2E41;
    color: #fff;
    
}

th, td {
    padding: 15px;
  }

  .userlist-Title{
    padding: 0.5em;
    
  }

.userlist-Title{
    color: #000;
    font-size: 40px;
}

.userlist {
    padding: 3em;
    overflow: auto;
}


  #container-userlist{
    display: grid;
    grid-template-columns: repeat(16,1fr);
    grid-template-rows: repeat(16,1fr);
    gap: 12px;
    background: linear-gradient(180deg, #1E6CB4 25.96%, #393A7B 111.57%);
    height: 100vh;
    padding: 2em;
  }



  #cotainer-userlist h1{
    font-size: 28px;
    color: #fff;
  }



/*Settings Styles*/
#settings{
    overflow: scroll;
}

#container-settings{
    display: grid;
    grid-template-columns: repeat(16,1fr);
    grid-template-rows: repeat(16,1fr);
    gap: 12px;
    background: linear-gradient(180deg, #1E6CB4 25.96%, #393A7B 111.57%);
    height: 100%;
    padding: 1em;

}

#settings_main_section{
    grid-column: 2/17;
    grid-row: 1/17;

    background: rgba(255, 255, 255, 0);
    padding-bottom: 0px;
    overflow: hidden;
}

.content_section_settings{
    background: #2F2E41;
    border-radius: 0 2em 2em 0;
    width: 100%;
    margin-bottom: 0px;
    padding: 2em;
    height: 100vh;
    overflow: auto;
}

.content_section_settings h1{
    color: #fff;
    font-family: 'Source Code Pro';
    font-style: normal;
    font-size: 30px;
}

.settingsContainer{
    border-top: 5px solid #9002D2;
    display: grid;
    grid-template-columns: 20% 26% 26% 26%;
    grid-template-rows: auto;
    grid-template-areas: 
      "Nav Profile Profile Profile"
      "nav details details details"
      "nav details details details";
      overflow: hidden;
}

.settingsNav{
    grid-area: Nav;
    grid-row: 1/4;
    padding-top: 2em;
    align-items: center;

    margin: 0px;
    background: #9002D2;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

  .settingsNav a{
    font-family: 'Source Code Pro';
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    color: #fff;
    padding: 0.5em;
    cursor: pointer;
    text-decoration: none;
    display: block;
  }


  .settingsNav a:hover{
    background-color: #6C63FF;
  }


  /* Settings Edit Profile */



/* Media Queries */
@media screen and (max-width: 1200px) {
    /* #container-signup {
        grid-template-columns: 35% 55%;
        gap: 10%;
    }
    #container-login {
        grid-template-columns: 35% 55%;
        gap: 10%;
    } */
}

@media screen and (max-width: 992px) {
    /* #container-login {
        grid-template-columns: 40% 50%;
        gap: 10%;
    }

    .login_form h2 {
        font-size: 2rem;
    }

    .btn {
        font-size: 1.25em;
    } */
}

@media screen and (max-width: 768px) {    
    /* #container-signup {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }

    #container-login {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .login_img {
        grid-column: 1/-1;
        max-width: 300px;
        margin: 0 auto;
        padding: 1rem;
    }

    .login_form {
        grid-column: 1/-1;
    }

    .login_form > div {
        margin-top: 2em;
    }

    .login_form h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5em;
    } */
}

@media screen and (max-width: 480px) {
    /* #container-login {
        padding: 1rem;
    }

    .login_img {
        max-width: 250px;
    }

    .login_form h2 {
        font-size: 1.5rem;
    }

    .login_form form > label {
        font-size: 1rem;
    }

    .input_field {
        font-size: 0.9rem;
    }

    .btn {
        height: 45px;
        font-size: 1em;
    } */
}

/* Support for smaller screens */
@media screen and (max-width: 320px) {
    /* .login_img {
        max-width: 200px;
    }

    .login_form h2 {
        font-size: 1.25rem;
    }

    .btn {
        height: 40px;
        font-size: 0.9em;
    } */
}

/* Height-based media queries */
@media screen and (max-height: 600px) {
    /* #container-login {
        min-height: 100vh;
    }

    .login_form > div {
        margin-top: 1em;
    }

    .login_form h2 {
        margin-bottom: 1em;
    } */
}