*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

:root{
    --yellow: #fdc500;
    --blue: #003f88;
    --lightyellow: #ffd500;
    --lightblue: #00509d;
    --darkblue: #00296b;
    --antiwhite: #f0f0f0;
    --darkchar: #333;
    --siverchal: #ccc;
    --spanishwhite: #9a9a9a;
}

body{
    display: flex;
    overflow-y: auto;
}

/*A) Sign Up/Log In*/
.login_page{
    background: var(--lightyellow);
}

.signup_page{
    background: var(--blue);
}

.form_box{
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    text-align: left;
    width: 600px;
    height: 100vh;
    padding: 100px 120px;
    background-color: #fff;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.login_page .form_box{
    gap: 45px;
}

.signup_page .form_box{
    gap: 20px;
}

.logo{
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    justify-content: flex-start;
    box-sizing: border-box;
    width: 100%;
    height: 41.5px;
    padding: 0px 20px;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 36px;
}

#logo-text{
    display: inline-block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: -27.5%;
    left: 0%;
    margin: 0;
    z-index: 0;
    text-decoration: none;
    color: #000;
}
    
#bulb-icon{
    position: relative;
    top: -59%;
    left: -1px;
    width: 24px;
    height: 22px;
    object-fit: cover;
}

h2{
    font-size: 24px;
    color: #000;
}

.login_page h2{
    margin-bottom: 10px; 
}

.signup_page h2{
    margin-bottom: 15px;
}

.signup_page .input_row{
    display: flex;
    gap: 18px;
}

label{
    font-size: 14px;
    color: var(--darkchar);
}

.input_group{
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    flex: 1;
    width: 100%;
}

.login_page .input_group{
    margin-bottom: 10px;
    gap: 10px;
}

.signup_page .input_group{
    margin-bottom: 18px;
    gap: 5px;
}

input[type="text"], 
input[type="email"],
input[type="password"],
.input_group .select_box{
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px;
    border: 1px solid var(--siverchal);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    outline: none;
}

.login_page input[type="text"], 
.login_page input[type="email"], 
.login_page input[type="password"],
.error_message{
    margin-bottom: 20px;
}

.signup_page input[type="text"], 
.signup_page input[type="email"], 
.signup_page input[type="password"]{
    margin-bottom: 1px;
}

.password_container{
    display: flex;
    position: relative;
    align-items: center;
    width: 100%;
}

input[type="password"], 
input[type="text"]{
    width: 100%;
    padding-right: 40px;
}

.fa-eye, .fa-eye-slash{
    position: absolute;
    right: 10px;
    top: 14px;
    opacity: 1; 
    cursor: pointer;
    color: var(--blue);
}

.signup_page .radio_container{
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--darkchar);
    margin-bottom: 20px;
}

.login_page .f-pword{
    font-size: 13px;
    text-decoration: none;
    color: var(--lightblue);
    margin-bottom: 20px;
}

.login_page .f-pword:hover{
    text-decoration: underline;
    text-decoration-thickness: 1.2px;
}

button{
    width: 100%;
    font-size: 16px;
    padding: 10px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    background-color: var(--yellow);
    color: #000;
    margin-bottom: 20px;
}

button:hover{
    background-color: var(--lightyellow);
}

.login_button{
    margin-top: 20px;
}

.signup_button{
    text-align: center;
}

.bottom_text,
.bottom_link,
.error_message{
    font-size: 14px;
}

.bottom_text,
.bottom_link{
    color: var(--blue)
}

.error_message{
    color: #ff3b30;
}

.bottom_link{
    text-decoration: underline;
    text-decoration-thickness: 1.2px;
}

.bottom_link:hover{
    color: #0069cc;
}


/*B) Modal Box*/
.modal{
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal_content{
    width: 912px;
    height: auto;
    margin: 10% auto;
    padding: 80px;
    background-color: #fff;
}

.modal_content h2{
    font-size: 28px;
    margin-bottom: 25px;
}

.modal_content .input_row{
    margin-bottom: 30px;
}

.modal_content button{
    width: 190px;
    margin: 0;
    float: right;
}

/*Select Box*/
.input_group .select{
    position: relative;
    width: 100%;
}

.input_group .select_box{
    justify-content: space-between;
    border-radius: 5px 5px 0 0;
}

.select .options{
    display: none;
    position: relative;
    width: 100%;
    max-height: 122px;
    border: 1px solid var(--siverchal);
    border-radius: 0 0 5px 5px;
    border-top: none;
    font-size: 13px;
    overflow-y: auto;
}

body::-webkit-scrollbar,
.select .options::-webkit-scrollbar{
    width: 5px;
}

body::-webkit-scrollbar-thumb,
.select .options::-webkit-scrollbar-thumb{
    background: var(--siverchal);
}

.options .option{
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid var(--siverchal);
}

body::-webkit-scrollbar,
.select .options::-webkit-scrollbar-track,
.options .option:hover{
    background: var(--antiwhite);
}

/*Reset password styles*/
.form_description {
  font-size: 14px;
  color: var(--darkchar);
  margin-bottom: 20px;
}

.success_message {
  color: #28a745;
  font-size: 14px;
  margin-bottom: 20px;
}

.error_message {
  color: #ff3b30;
  font-size: 14px;
  margin-bottom: 20px;
}

/*Responsitivity Center*/
@media screen and (max-width: 1200px){
    body{
        justify-content: center;
        align-items: center;
    }
}

@media screen and (max-width: 1000px){
    .modal_content {
        width: 90%;
    }  
}

@media screen and (max-width: 768px){
    .modal_content .input_row{
        flex-direction: column;
    }  
}

@media screen and (max-width: 600px){  
    /*B.*/
    .form_box{
        width: 100%;
        padding: 110px 80px 80px 80px;
    }

    .modal_content{
        padding: 50px 50px 80px;
    }
}

@media screen and (max-width: 400px) {
    /*A.*/
    .login_page .form_box{
        padding: 110px 70px 80px;
    }

    /*B.*/
    .modal_content button{
        width: 100%;
    }
}