/* Global Styles */
* {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    box-sizing: border-box;
}

/* Container Styles */
.container {
    width: 100%;
    height: 100vh;
    background-image:
        linear-gradient(rgba(5, 0, 51, 0.8), rgba(0, 0, 0, 0.8)),
        url("../images/background22.jpg");
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Form Box */
.form-box {
    width: 90%;
    max-width: 450px;
    background: #fff;
    padding: 50px 60px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Header Section */
.header-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
}

.header-container h1 {
    font-size: 30px;
    color: #28242e;
}

.subtext {
    font-size: 14px;
    color: #645a72;
}

.header-underline {
    width: 30px;
    height: 4px;
    border-radius: 34px;
    background: #3c00a0;
    margin-top: 5px;
}

/* Toggle Button Styles */
.toggle-container {
    display: flex;
    background-color: #f4f1f9;
    border-radius: 34px;
    padding: 5px;
    width: 200px;
    margin: 20px auto;
}

.toggle-btn {
    flex: 1;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: bold;
    border-radius: 34px;
    font-size: 14px;
    color: #1b0d30;
}

.active {
    background-color: #3c00a0;
    color: white;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
}

.toggle-btn:hover {
    background-color: #eceaec;
}

.active:hover {
    background-color: #270066;
}

/* Input Fields */
.input-group {
    margin-top: 20px;
}

.input-field {
    background: #faf8fc;
    margin: 10px 0;
    border-radius: 34px;
    display: flex;
    align-items: center;
    position: relative;
    padding-right: 40px;
    max-height: 60px;
}

.input-field input {
    width: 100%;
    color: #1b0d30;
    background: transparent;
    border: none;
    outline: none;
    padding: 15px 15px 15px 40px;
    font-size: 14px;
}

.input-field .leading-icon {
    position: absolute;
    left: 15px;
    color: #1b0d30;;
}

.input-field .fa-eye,
.input-field .fa-eye-slash {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #1b0d30;
    font-size: 16px;
}

/* Forgot Password */
#forgotPassword {
    display: none;
}

/* Submit Button */
.enter {
    background: #3c00a0;
    color: white;
    border-radius: 34px;
    width: 100%;
    height: 40px;
    cursor: pointer;
    border: none;
    outline: none;
    font-size: 16px;
    transition: background 0.3s;
    margin-top: 20px;
}

.enter:hover {
    background: #2a0075;
}

.enter:active {
    background: #1e0058;
}

/* Hide Elements Smoothly */
.hidden {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    opacity: 0;
    visibility: hidden;
}

.hidden {
    display: none;
}

#passwordRequirements {
    padding-top: 15px;
    font-size: 14px;
    color: #645a72;
}

#passwordRequirements p {
    margin-bottom: 6px;
    margin-left: 40px;
    font-size: 14px;
    text-align: justify;
}

#passwordRequirements p:first-of-type {
    margin-top: 20px;
}
