/* Reset & Font */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap");

/* Modal Content */
.modal-content {
    position: relative;
    background: #fff;
    border-radius: 10px;
    padding: 30px 25px 25px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

/* Container */
.login-container {
    width: 100%;
}

.login-title {
    text-align: center;
    background-color: #01497c;
    color: white;
    border-radius: 8px;
    padding: 15px 0;
    margin-bottom: 20px;
}

.login-title h2 {
    font-size: 24px;
    margin: 0;
}

/* Form Fields */
form .form-group {
    position: relative;
    margin-bottom: 20px;
}

form input {
    width: 100%;
    padding: 10px 15px 10px 45px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
}

form .icon {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: white;
    background-color: #01497c;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    border-radius: 6px 0 0 6px;
    font-size: 14px;
}

/* Forgot Password */
.forgot {
    text-align: right;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.forgot a {
    color: #01497c;
    text-decoration: none;
}

/* Login Button */
.btn-login {
    width: 100%;
    padding: 10px;
    background: #01497c;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    transition: background 0.3s;
}

.btn-login:hover {
    background: #023e7d;
}

/* Signup Link */
.signup {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
}

.signup a {
    color: #01497c;
    font-weight: 600;
    text-decoration: none;
}

/* Toggle Password Visibility */
.toggle-password {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
    font-size: 16px;
    padding: 0;
    line-height: 1;
}

.toggle-password:hover {
    color: #01497c;
}

form .form-group input[type="password"],
form .form-group input[type="text"]#password {
    padding-right: 40px;
}
