/* Setting root properties */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: calc(0.05vw + 1rem);
    /* Adjust the values as per your preference */
}

/* Styling the body */
body {
    font-family: 'Roboto', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image: url('../images/background.png');
    background-repeat: no-repeat;
    background-size: cover;
    flex-direction: column;
}


/* Center the logo container */
.logo-container {
    width: 12vw;
    min-width: 130px;
    padding-bottom: 5dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    /* height: 100vh; Adjust this value as needed to center vertically */
}


.logoimage {
    width: 100%;
}


h2 {
    color: #145EBE;
    font-weight: bold;
    padding: 0;
    padding-bottom: 5dvh;
    letter-spacing: 0.1rem;
    font-size: 1.8rem;
}


.buttons-bottom {
    margin-top: 5dvh;
}

/* Center align the button */
.buttons-bottom {
    display: flex;
    justify-content: center;
    /* margin-top: 20px; Adjust the margin as needed to create space between the inputs and the button */
}


#passwordErrorMessage
{
    max-width: 350px;
}


.buttons-bottom button {
    padding: 0.5rem 3rem;
    border-radius: 0.3rem;
    background-color: #145EBE;
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    /* margin-bottom: 1rem; */
}


.toggle-icon {
    position: absolute;
    right: 26px;
    top: 68%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #145EBE;
}


a {
    color: rgba(94, 94, 94, 1);
    font-size: 0.85rem;
    font-weight: bold;
    /* text-decoration: none; */
    margin-bottom: 5%;
}


a:hover {
    /* text-decoration: underline; */
    color: #145EBE;
}


a:active {
    /* For example, you can change the text color and add an underline */
    color: #ff0000;
}


/* For modern browsers */
::placeholder {
    color: rgba(103, 116, 137, 1);
    /* Change the color as per your preference */
}

/* For older versions of Internet Explorer */
:-ms-input-placeholder {
    color: rgba(103, 116, 137, 1);
    /* Change the color as per your preference */
}

/* For Mozilla Firefox */
::-moz-placeholder {
    color: rgba(103, 116, 137, 1);
    /* Change the color as per your preference */
}

/* For Google Chrome and Safari */
::-webkit-input-placeholder {
    color: rgba(103, 116, 137, 1);
    /* Change the color as per your preference */
}


.form-inputs {
    background-color: rgba(250, 250, 250, 0.5);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    width: 60vw;
    min-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-items: center;
   /*   padding: 10dvh 8dvh;  */
   padding: 5dvh 0dvh;
}


.input-box {
    position: relative;
    min-width: 450px;
    display: flex;
    align-items: left;
    flex-direction: column;
    margin-bottom: 3dvh;
    padding:0px 15px;
}


.input-box input[type="text"],
.input-box input[type="date"],
.input-box input[type="password"] {
    flex: 1;
    padding: 2% 3%;
    outline: none;
    border: 0.15rem solid #E3E8EF;
    font-size: 0.8rem;
    border-radius: 0.3rem;
}


.input-box label {
    font-size: 0.9rem;
    font-weight: bold;
    color: rgba(17, 23, 41, 1);
    margin: 0px 0px 5px 5px;
}


.validation-message {
    color: white;
    font-size: 0.8rem;
    transition: opacity 0.3s ease;
    position: absolute;
    top: 1.8rem;
    left: 7%;
    transform: translateY(-100%);
    opacity: 1;
    z-index: 1;
    background-color: #f8300c;
    /* padding: 0.2rem; */
    text-align: center;
}


.message-box {
    text-align: center;
    background-color: #145EBE;
    color: white;
    padding: 10px;
    margin-bottom: 20px;
    display: none;
}

.buttons-bottom {
    text-align: center;
}

.buttons-bottom #messageContainer {
    margin-bottom: 10px;
}


@media (min-width: 1026px) and (max-width: 1439px)
{
    h2 {
        font-size: 1.8rem;
    }

    .input-box {
        min-width: 650px;
    }

    .input-box label {
        font-size: 0.9rem;

    }


    a,
    .input-box input[type="text"],
    .input-box input[type="date"],
    .input-box input[type="password"],
    .buttons-bottom button {
        font-size: 0.8rem;
    }


    .input-box label {
        flex: 0 0 28%;
    }

    .form-inputs {

        min-width: 700px;

    }


}



@media (min-width: 2560px) {
    h2 {
        font-size: 3.8rem;
    }

    .input-box {
        width: 90%;
    }

    .input-box label {
        font-size: 2rem;

    }

    .input-box input[type="text"],
    .input-box input[type="date"],
    .input-box input[type="password"] {

        border: 0.15rem solid #E3E8EF;
        font-size: 1.9rem;
    }

    a {
        font-size: 1.95rem;
    }

    .buttons-bottom button {
        padding: 1% 5%;
        border-radius: 0.7rem;
        font-size: 2.2rem;
    }

    .form-inputs {
min-width: 1500px;
    }
}


@media (max-width: 768px) {

    .input-box {
        min-width: 480px;
    }

    .form-inputs {
        background-color: rgba(250, 250, 250, 0.5);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        border-radius: 0.5rem;
        width: 80vw;
        min-width: 485px;

        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10dvh 8dvh;
    }
}

@media (max-width: 425px) {

    .input-box {
        min-width: 450px;
    }

    .form-inputs {
        background-color: rgba(250, 250, 250, 0.5);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        border-radius: 0.5rem;
        width: 98vw;
        min-width: 410px;

        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10dvh 8dvh;
    }

}


@media (max-width: 375px) {

    .input-box {
        min-width: 350px;
    }

    .form-inputs {
        background-color: rgba(250, 250, 250, 0.5);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        border-radius: 0.5rem;
        width: 98vw;
        min-width: 360px;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10dvh 8dvh;
    }

}

@media (max-width: 320px) {

    .input-box {
        min-width: 300px;
    }

    .form-inputs {
        background-color: rgba(250, 250, 250, 0.5);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        border-radius: 0.5rem;
        width: 98vw;
        min-width: 310px;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10dvh 8dvh;
    }

}