* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    font-family: system-ui, -apple-system, sans-serif;
    color: #f1f5f9;
    background:
        radial-gradient(ellipse at 15% 10%, #252052, transparent 50%),
        radial-gradient(ellipse at 90% 90%, #172554, transparent 50%),
        #090d18;
}

.login-card {
    width: 100%;
    max-width: 430px;
    padding: 36px;
    background: #111827;
    border: 1px solid #293349;
    border-radius: 24px;
    box-shadow: 0 24px 80px #0005;
}

.logo {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, #6366f1, #9333ea);
    font-size: 32px;
    font-weight: 800;
}

.brand {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
}

.brand span {
    color: #a5b4fc;
}

h1 {
    margin: 32px 0 8px;
    font-size: 26px;
    text-align: center;
}

.subtitle {
    color: #94a3b8;
    text-align: center;
    margin-bottom: 30px;
}

label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
}

input {
    width: 100%;
    padding: 14px;
    margin-bottom: 20px;
    background: #090f1d;
    border: 1px solid #334155;
    border-radius: 10px;
    color: #f8fafc;
    font-size: 16px;
}

input:focus {
    outline: 2px solid #818cf8;
    outline-offset: 2px;
}

button {
    width: 100%;
    padding: 15px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #4f46e5, #7e22ce);
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

button:hover {
    filter: brightness(1.15);
}

.notice, .back, footer {
    font-size: 13px;
    text-align: center;
}

.notice {
    margin: 24px 0;
    color: #94a3b8;
}

.back {
    display: block;
    color: #a5b4fc;
    text-decoration: none;
}

.error {
    background: #451a25;
    color: #fecaca;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 20px;
    font-size: 14px;
}

footer {
    color: #94a3b8;
    margin-top: 24px;
}

.dashboard {
    max-width: 520px;
}

.account-info {
    padding: 20px;
    background: #090f1d;
    border: 1px solid #293349;
    border-radius: 14px;
    overflow-wrap: anywhere;
}

.account-info small {
    color: #94a3b8;
}

.account-info p {
    margin: 6px 0 16px;
}

.account-menu {
    display: grid;
    gap: 12px;
    margin: 24px 0;
}

.account-menu a {
    padding: 15px;
    border: 1px solid #334155;
    border-radius: 10px;
    color: #c7d2fe;
    text-decoration: none;
}

.account-menu a:hover {
    background: #1e293b;
}
