.login-page {
    min-height: calc(100vh - 80px);
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 35%),
        linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.login-section {
    padding: 45px 0;
}

.login-card {
    max-width: 520px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 42px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.10);
}

.login-heading {
    text-align: center;
    margin-bottom: 32px;
}

.login-heading h1 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 600;
}

.login-heading p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row label {
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
}

.form-control {
    width: 100%;
    min-height: 50px;
    padding: 13px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #ffffff;
    color: #0f172a;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control::placeholder {
    color: #94a3b8;
}

.form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.has-error .form-control {
    border-color: #ef4444;
}

.help-block {
    display: block;
    margin-top: 2px;
    color: #dc2626;
    font-size: 13px;
    line-height: 1.4;
}

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 2px;
}

.remember-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #475569;
    font-size: 14px;
    line-height: 1.4;
}

.remember-checkbox input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkbox-custom {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.checkmark {
    width: 14px;
    height: 14px;
    opacity: 0;
    transform: scale(0.75);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.remember-checkbox input:checked + .checkbox-custom {
    background: #2563eb;
    border-color: #2563eb;
}

.remember-checkbox input:checked + .checkbox-custom .checkmark {
    opacity: 1;
    transform: scale(1);
}

.login-link,
.login-register a {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
}

.login-link:hover,
.login-register a:hover {
    text-decoration: underline;
}

.login-submit {
    width: 100%;
    min-height: 52px;
    margin-top: 6px;
    border: 0;
    border-radius: 14px;
    background: #0f172a;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.login-submit:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.22);
}

.login-register {
    padding-top: 6px;
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

.login-register span {
    margin-right: 4px;
}

@media (max-width: 767px) {
    .login-section {
        padding: 32px 0;
    }

    .login-card {
        padding: 30px 22px;
        border-radius: 20px;
    }

    .login-heading h1 {
        font-size: 28px;
    }

    .login-options {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .login-link {
        font-size: 14px;
    }
}

@media (max-width: 480px) {


    .login-card {
        padding: 26px 18px;
    }

    .form-control {
        min-height: 48px;
    }

    .login-submit {
        min-height: 50px;
    }
}