@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
    box-sizing: border-box;
    font-family: 'Inter', system-ui, sans-serif;
}

body {
    margin: 0;
    background: radial-gradient(circle at top, #111827, #020617);
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    justify-content: center;
    color: #e5e7eb;
}

.auth-wrapper {
    width: 100%;
    padding: 20px;
}

.auth-card {
    max-width: 380px;
    margin: auto;
    padding: 32px;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.8);
    animation: fadeUp 0.6s ease;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.auth-card h1 {
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.subtitle {
    text-align: center;
    font-size: 13px;
    color: #9ca3af;
    margin: 6px 0 26px;
}

.field {
    position: relative;
    margin-bottom: 22px;
}

.field input {
    width: 100%;
    padding: 14px 14px;
    background: transparent;
    border-radius: 10px;
    border: 1px solid #334155;
    color: #fff;
    font-size: 15px;
    outline: none;
}

.field label {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #94a3b8;
    pointer-events: none;
    transition: 0.25s ease;
    background: #020617;
    padding: 0 6px;
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label {
    top: -6px;
    font-size: 11px;
    color: #60a5fa;
}

button {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    font-size: 15px;
    color: white;
    cursor: pointer;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(37,99,235,0.4);
}

.error {
    background: rgba(239,68,68,0.15);
    color: #fca5a5;
    padding: 10px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 14px;
    text-align: center;
}
