* {
    box-sizing: border-box;
    font-family: "Segoe UI", system-ui, sans-serif;
}

body {
    margin: 0;
    height: 100vh;
    background: radial-gradient(circle at top left, #2563eb, #020617 60%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e5e7eb;
}

.login-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.login-card {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    width: 360px;
    box-shadow: 0 30px 80px rgba(0,0,0,.5);
    animation: fadeUp .6s ease;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 20px;
}

.brand .dot {
    width: 10px;
    height: 10px;
    background: linear-gradient(45deg,#3b82f6,#a855f7);
    border-radius: 50%;
}

h1 {
    margin: 0 0 20px;
    font-size: 22px;
}

.field {
    margin-bottom: 18px;
}

label {
    font-size: 13px;
    color: #9ca3af;
}

input {
    width: 100%;
    padding: 10px;
    background: transparent;
    border: none;
    border-bottom: 1px solid #334155;
    color: white;
    outline: none;
}

input:focus {
    border-color: #3b82f6;
}

button {
    width: 100%;
    margin-top: 20px;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(90deg,#2563eb,#9333ea);
    color: white;
    font-weight: 600;
    cursor: pointer;
}

button:hover {
    opacity: .9;
}

.error {
    background: #7f1d1d;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 14px;
}

.footer {
    margin-top: 25px;
    text-align: center;
    font-size: 12px;
    color: #64748b;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
