/* === Matching ZSClasses Style (Login/Register Pages) === */

/* Root Fonts & Colors */
:root {
    --primary-blue: #3a6ed3;
    --secondary-blue: #2b58b0;
    --light-blue: #eff5fc;
    --white: #ffffff;
    --text-dark: #333333;
    --input-border: #cbd5e1;
}

/* Full Page Background */
.login-body {
    min-height: 100vh;
    background: linear-gradient(145deg, var(--light-blue), var(--primary-blue));
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 15px;
}

/* Page Card */
.login-form {
    width: 100%;
    max-width: 450px;
    background: var(--white);
    padding: 40px 35px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--secondary-blue);
    transition: 0.3s ease;
}
.login-form:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

/* Logo & Title */
.logo-login {
    text-align: center;
    margin-bottom: 15px;
}
.logo-login img {
    max-width: 90px;
}
.login-form h2 {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

/* Alerts */
.login-form .alert {
    font-size: 14px;
    padding: 10px 12px;
    border-radius: 6px;
}

/* Inputs */
.form-input {
    margin-bottom: 18px;
}
.form-input label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}
.form-input input {
    width: 100%;
    height: 45px;
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid var(--input-border);
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-input input:focus {
    outline: none;
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 2px rgba(58, 110, 211, 0.2);
}

/* Submit Button */
.form-input input[type="submit"] {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}
.form-input input[type="submit"]:hover {
    background: var(--secondary-blue);
    transform: translateY(-1px);
}

/* Links */
.forget,
.registration {
    display: block;
    text-align: center;
    font-size: 14px;
    color: var(--secondary-blue);
    font-weight: 600;
    margin-top: 15px;
    text-decoration: none;
}
.forget:hover,
.registration:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 480px) {
    .login-form {
        padding: 30px 20px;
    }
}
/* Page background */
.login-body {
    min-height: 100vh;
    background: linear-gradient(90deg, #eaf1ff 0%, #6f95e6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Login card — FIXED SIZE */
.login-form {
    width: 380px;          /* exact card width */
    padding: 32px 30px;    /* inner spacing */
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    border-top: 4px solid #3f6fd9;
}

/* Title */
.login-form h2 {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 22px;
    color: #111;
}

/* Inputs */
.form-input {
    margin-bottom: 16px;
}

.form-input label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #222;
    display: block;
}

.form-input input {
    width: 100%;
    height: 42px;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #cfd8ea;
    font-size: 14px;
}

.form-input input:focus {
    outline: none;
    border-color: #3f6fd9;
    box-shadow: 0 0 0 2px rgba(63, 111, 217, 0.2);
}

/* Button */
.form-input input[type="submit"] {
    height: 42px;
    background: #3f6fd9;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.form-input input[type="submit"]:hover {
    background: #2f59b8;
}

/* Mobile fix */
@media (max-width: 420px) {
    .login-form {
        width: 92%;
    }
}
