body {
    margin: 0;
    height: 100vh;
    font-family: "Segoe UI", Arial, sans-serif;
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Login Box */
.login-box {
    background: #ffffff;
    width: 360px;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.25);
    text-align: center;
}

/* Logo */
.login-logo img {
    width: 160px;
    object-fit: contain;
    margin-bottom: 20px;
}

/* Title */
.login-box h2 {
    margin: 0;
    margin-bottom: 5px;
}

.login-box p {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 25px;
}

/* Inputs */
.form-group {
    text-align: left;
    margin-bottom: 18px;
}

.form-group label {
    font-size: 14px;
    margin-bottom: 6px;
    display: block;
}

.form-group input {
    width: 100%;
    height: 42px;                 /* IMPORTANT */
    padding: 10px 40px 10px 10px; /* right space for eye */
    border-radius: 6px;
    border: 1px solid #d1d5db;
    font-size: 14px;
    box-sizing: border-box;
}


.form-group input:focus {
    outline: none;
    border-color: #2563eb;
}

/* Button */
.login-btn {
    width: 100%;
    background: #2563eb;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

.login-btn:hover {
    background: #1d4ed8;
}

/* Footer */
.login-footer {
    margin-top: 20px;
    font-size: 13px;
    color: #6b7280;
}

/* Responsive */
@media (max-width: 480px) {
    .login-box {
        width: 90%;
    }
}

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 40px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    height: 42px;                 /* SAME AS INPUT */
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    color: #6b7280;
    user-select: none;
}


.toggle-password:hover {
    color: #2563eb;
}
