* {
    /* margin: 0;
    padding: 0;
    box-sizing: border-box; */
    font-family: 'Open Sans';
}

/* In forgot-password page heading */

.form-box-password h2 {
    font-size: 2em;
    color: #23458E;
    text-align: center;
    margin-top: 10%;
}

/* Input box width */

.input-box {
    position: relative;
    width: 20%;
    height: 50px;
    border-bottom:2px solid #23458E;
    margin: 30px 0;
    margin-left: 40%;
}

/* Input label area with size */

.input-box label {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    font-size: 1em;
    color: #23458E;
    font-weight: 500;
    pointer-events: none;
    transition: .5s;
}

.input-box input:focus~label,
.input-box input:valid~label {
    top: -5px;
}

/* Input text area field */

.input-box input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1em;
    color: #23458E;
    font-weight: 600;
    padding: 0 35px 0 5px;
}

/* span icons */

.input-box .icon {
    position: absolute;
    right: 8px;
    font-size: 1.2em;
    color: #23458E;
    line-height: 57px;
    cursor: pointer;
    /*display: block;*/
}

/* Submit button */

.btn {
    width: 20%;
    height: 45px;
    background: #23458E;
    border: none;
    outline: none;
    box-shadow: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    color: #fff;
    font-weight: 500;
    margin-left: 40%;
    margin-bottom: 10%;
}

.btn :hover {
    background: fixed;
    background-color: #23458E;
}

/* Responsive Styles for Tablet View (768px) */
@media (max-width: 768px) {
    /* General adjustments for all elements */
    .input-box {
        width: 40%;
        margin-left: 30%;
    }

    .form-box-password h2 {
        font-size: 18px;
        margin-top: 100px;
    }

    .btn {
        width: 40%;
        margin-left: 30%;
        margin-right: 10%;
        height: 50px;
        font-size: 16px;
    }
}


@media (max-width: 425px) {
    /* General adjustments for all elements */
    * {
        font-size: 90%;
    }

    /* password_reset page heading */
    .form-box-password h2 {
        font-size: 16px;
        margin-top: 100px; /* Reduced margin for smaller screens */
    }

    /* Input box width */
    .input-box {
        width: 80%; /* Increased width to fit smaller screens */
        margin-left: 10%; /* Center the input box */
        height: 40px; /* Adjusted height */
        margin: 20px 40px;
    }

    /* Input label */
    .input-box label {
        font-size: 16px;
        top: 50%; /* Keep label centered */
    }

    /* Input text area */
    .input-box input {
        font-size: 16px;
        padding: 0 30px 0 5px; /* Adjust padding for smaller input box */
    }

    /* Span icons */
    .input-box .icon {
        font-size: 2em;
        right: 5px;
    }

    /* Submit button */
    .btn {
        width: 80%; /* Increased width */
        height: 40px; /* Adjusted height */
        font-size: 16px; /* Slightly smaller text */
        margin-left: 10%; /* Center the button */
    }

}


/* Responsive styles for mobile view (320px) */
@media (max-width: 320px) {
    
    /* In password reset page heading */
    .form-box-password h2 {
        font-size: 16px; /* Smaller font size for mobile */
        margin-top: 40%;
    }

    /* Input box width */
    .input-box {
        width: 90%; /* Increased width for mobile view */
        margin: 15px auto; /* Center input box */
        margin-left: 5%;
    }

    /* Input label area with size */
    .input-box label {
        font-size: 16px; /* Slightly smaller label font size */
        left: 10px; /* Adjusted for smaller input box */
    }

    .input-box input {
        font-size: 16px; /* Slightly smaller font size */
        padding: 0 30px 0 10px; /* Adjusted padding */
    }

    /* span icons */
    .input-box .icon {
        font-size: 2em; /* Smaller icon size */
    }

    /* Submit button */
    .btn {
        width: 90%; /* Increased width for mobile view */
        height: 40px; /* Smaller button height */
        font-size: 16px; /* Smaller font size */
        margin-left: 5%;
    }

    .btn:hover {
        background-color: #23458E;
    }
}
