* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

.container {
    width: 100%;
    height: 100vh; /* fit screen height */
    background-image: linear-gradient(rgba(0,0,50,0.8), rgba(0,0,50,0.8)), url(../img/background.jpg);
    background-position: center;
    background-size: cover;
    display: flex; /* center form */
    justify-content: center;
    align-items: center;
}

.form-box {
    width: 90%;
    max-width: 400px;
    background: #fff;
    padding: 40px 50px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.form-box h1 {
    font-size: 28px;
    margin-bottom: 40px;
    color: #3c00a0;
    position: relative;
}

.form-box h1::after {
    content: '';
    width: 40px;
    height: 4px;
    border-radius: 3px;
    background: #3c00a0;
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
}

.input-field {
    background: #eaeaea;
    margin: 15px 0;
    border-radius: 5px;
    display: flex;
    align-items: center;
    transition: 0.3s ease;
}

.input-field:hover {
    background: #dcdcdc; /* subtle hover effect */
}

input {
    width: 100%;
    background: transparent;
    border: 0;
    outline: 0;
    padding: 15px;
    font-size: 14px;
}

.input-field i {
    margin-left: 15px;
    color: #666;
}

form p {
    text-align: left;
    font-size: 13px;
    margin-top: 10px;
}

form p a {
    text-decoration: none;
    color: #3c00a0;
    transition: color 0.3s ease;
}

form p a:hover {
    color: #ff6600; /* link hover effect */
}

.btn-field {
    width: 100%;
    display: flex;
    justify-content: center; /* center button */
    margin-top: 20px;
}

.btn-field button {
    width: 100%;
    background: #3c00a0;
    color: #fff;
    height: 45px;
    border-radius: 25px;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-field button:hover {
    background: #5a24d6; /* hover color */
    transform: scale(1.05); /* slight zoom */
}
.password-field {
    position: relative;
}

.password-field #togglePassword {
    position: absolute;
    right: 15px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.password-field #togglePassword:hover {
    color: #3c00a0; /* highlight on hover */
}
