*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #1e293b, #020617);
    color: #e5e7eb;
    min-height: 100vh;
}

.page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.card {
    background: rgba(15, 23, 42, 0.95);
    border-radius: 18px;
    padding: 28px 24px 24px;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.title {
    font-size: 1.4rem;
    margin-bottom: 18px;
    text-align: center;
}

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

.field span {
    font-size: 0.8rem;
    color: #9ca3af;
    display: block;
    margin-bottom: 4px;
}

.field input {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    padding: 9px 11px;
    background: rgba(15, 23, 42, 0.8);
    color: #e5e7eb;
    outline: none;
    font-size: 0.9rem;
}

.field input:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.45);
}

.btn {
    margin-top: 6px;
    padding: 10px 14px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #38bdf8, #6366f1);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.12s ease;
}

.btn:hover {
    filter: brightness(1.05);
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.45);
    transform: translateY(-1px);
}

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