* {
    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: radial-gradient(circle at top, #4f46e5 0, #020617 55%);
    color: #0f172a;
}

.card {
    background: rgba(15, 23, 42, 0.9);
    border-radius: 18px;
    padding: 32px 28px;
    width: 100%;
    max-width: 380px;
    box-shadow:
            0 18px 45px rgba(15, 23, 42, 0.7),
            0 0 0 1px rgba(148, 163, 184, 0.15);
    backdrop-filter: blur(18px);
    color: #e5e7eb;
}

.card-header {
    margin-bottom: 24px;
    text-align: center;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.card-subtitle {
    font-size: 0.9rem;
    color: #9ca3af;
}

.field {
    margin-bottom: 16px;
}

.field label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 6px;
    color: #cbd5f5;
}

.field input[type="text"],
.field input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #1f2937;
    background: #020617;
    color: #e5e7eb;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.field input::placeholder {
    color: #6b7280;
}

.field input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.6);
    background: #020617;
}

.options-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    font-size: 0.8rem;
}

.remember {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: #9ca3af;
}

.remember input {
    width: 15px;
    height: 15px;
    accent-color: #6366f1;
    cursor: pointer;
}

.forgot {
    color: #818cf8;
    text-decoration: none;
    transition: color 0.15s ease;
}

.forgot:hover {
    color: #a5b4fc;
}

.btn-submit {
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #f9fafb;
    box-shadow: 0 12px 25px rgba(79, 70, 229, 0.45);
    transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(79, 70, 229, 0.6);
    filter: brightness(1.05);
}

.btn-submit:active {
    transform: translateY(0);
    box-shadow: 0 8px 18px rgba(79, 70, 229, 0.5);
}

.footer-text {
    margin-top: 18px;
    text-align: center;
    font-size: 0.8rem;
    color: #6b7280;
}

.footer-text a {
    color: #a5b4fc;
    text-decoration: none;
}

.footer-text a:hover {
    text-decoration: underline;
}