* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'Titlecard';
    src: url('../fonts/font2.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Basic Text';
    src: url('../fonts/font3.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Users';
    src: url('../fonts/font6.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


body {
    background-color: #0F2027!important;
    justify-content: center;
    align-items: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

h1 {
    color: white;
    font-family: 'Titlecard', serif;
}

h2 {
    font-family: 'Basic Text', serif;
}

p {
    font-family: 'Users', serif;
    color: white;
}

.alert {
    height: 35vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: column;
    background-color: #0b181d;
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0px 8px 32px rgba(0, 0, 0, 0.37);
    transition: color 0.98s ease-in-out, text-shadow 0.98s ease-in-out;
    opacity: 1; 
    transition: opacity 0.5s ease-out; 
}

.alert.hidden {
    opacity: 0;
}


/*Submit button */
#submit {
    margin-top: 5%;
    background-color: #00A8FF;
    color: #FFF;
    border: none;
    padding: 12px 24px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.98s ease;
}

#submit:hover {
    background-color: #0056B3;
    box-shadow: 0px 4px 15px rgba(0, 168, 255, 0.7);
}


.form-container {
    width: 100%;
    max-width: 400px;
    background-color: rgba(255, 255, 255, 0.05);;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.form-container h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: white;
}

.forgot-password-form p {
    font-size: 16px;
    color: white;
    margin-bottom: 20px;
}

.password-form label {
    display: block;
    text-align: left;
    font-size: 14px;
    margin-bottom: 8px;
    color: white;
}

.form-container .form-control {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-container .submit-btn {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.form-container .submit-btn:hover {
    background-color: #0056b3;
}

.back-to-login a {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
}

.back-to-login a:hover {
    text-decoration: underline;
}

/* Show password button */
.password-container {
    display: flex;
    align-items: center;
    position: relative;
    width: auto;
}

.show-password-btn {
    margin-left: 10px;
    cursor: pointer;
    position: absolute;
    right: 25px;
    top: 40%;
    transform: translateY(-50%);
    cursor: pointer;
    width: 20px;
    height: 20px;
}

#toggleConfirmPassword {
    height: 50px;
    width: 50px;
}

#togglePassword {
    height: 50px;
    width: 50px;
}
