* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
}

.login-wrapper {
    width: 100%;
    max-width: 420px;
    padding: 24px;
}

.login-card {
    background: #0b1120;
    border-radius: 16px;
    padding: 28px 24px 24px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.35);
    border: 1px solid rgba(148, 163, 184, 0.4);
    color: #e5e7eb;
}

.login-header {
    margin-bottom: 22px;
    text-align: center;
}

.login-logo {
    width: 40px;
    height: 40px;
    margin: 0 auto 10px;
    border-radius: 12px;
    background: linear-gradient(135deg, #22c55e, #0ea5e9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #0b1120;
}

.login-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.login-subtitle {
    font-size: 0.85rem;
    color: #9ca3af;
}

.form-group {
    margin-bottom: 14px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.85rem;
    color: #cbd5f5;
}

.form-control {
    width: 100%;
    padding: 10px 11px;
    border-radius: 10px;
    border: 1px solid #1f2937;
    background: #020617;
    color: #e5e7eb;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.form-control::placeholder {
    color: #6b7280;
}

.form-control:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.5);
    background: #020617;
}

.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #9ca3af;
}

.checkbox-group input {
    width: 14px;
    height: 14px;
    accent-color: #22c55e;
}

.forgot-link {
    font-size: 0.8rem;
    color: #22c55e;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.btn-primary {
    width: 100%;
    border: none;
    padding: 10px 14px;
    border-radius: 10px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #020617;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    margin-top: 4px;
    transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.08s ease;
}

.btn-primary:hover {
    filter: brightness(1.03);
    box-shadow: 0 10px 25px rgba(22, 163, 74, 0.35);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: none;
}

.divider {
    margin: 16px 0 10px;
    text-align: center;
    font-size: 0.8rem;
    color: #6b7280;
    position: relative;
}

.divider::before,
.divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 26%;
    height: 1px;
    background: #1f2937;
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.help-text {
    font-size: 0.78rem;
    color: #6b7280;
    text-align: center;
}

.help-text a {
    color: #22c55e;
    text-decoration: none;
    font-weight: 500;
}

.help-text a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .login-card {
        padding: 22px 18px 20px;
    }
}
