/* Split layout */
.login-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 120px); /* header + footer space */
    background: #ffffff;
}

.login-left {
    display: flex;
    align-items: stretch;
    justify-content: center;
    background: #ffffff;
}

.login-left-inner {
    width: 100%;
    max-width: 520px;
    padding: 40px 32px;
    margin-left: 8vw; /* push content a bit from left like the reference */
    display: flex;
    flex-direction: column;
}

.login-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.brand img {
    height: 32px;
    width: auto;
}

.top-cta {
    font-size: 0.95rem;
    color: #6b7280;
}

.top-cta a { color: #1d4ed8; text-decoration: none; }
.top-cta a:hover { text-decoration: underline; }

.login-content { margin-top: 24px; }

.login-heading {
    font-size: 2.2rem;
    font-weight: 600;
    margin: 0 0 8px;
    color: #111827;
}

.brand-link { color: #1d4ed8; text-decoration: none; }
.brand-link:hover { text-decoration: underline; }

.login-subtitle {
    color: #6b7280;
    margin: 0 0 24px;
    max-width: 480px;
}

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

.input-group { display: flex; flex-direction: column; gap: 6px; }

.password-wrap { position: relative; }
.password-wrap .input-field { padding-right: 44px; }
.toggle-pass {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.input-field {
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    background: #f9fafb;
}

.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 0 2px;
}

.remember-me { display: inline-flex; align-items: center; gap: 8px; color: #374151; }
.forgot-link { color: #1d4ed8; text-decoration: none; }
.forgot-link:hover { text-decoration: underline; }

.form-errors { color: #dc2626; font-size: 0.95rem; }

.login-btn {
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(90deg, #26a8ff 0%, #1d4ed8 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(29, 78, 216, 0.25);
}
.login-btn:hover { filter: brightness(0.95); }

.terms {
    margin-top: 16px;
    color: #6b7280;
    font-size: 0.9rem;
}
.terms a { color: #1d4ed8; text-decoration: none; }
.terms a:hover { text-decoration: underline; }

.login-right {
    background-image: url('../img/hero.png');
    background-size: cover;
    background-position: center;
    min-height: 50vh;
}

/* Responsive */
@media (max-width: 900px) {
    .login-split { grid-template-columns: 1fr; }
    .login-right { display: none; }
    .login-left-inner { margin: 0 auto; padding: 32px 20px; }
}