@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&family=Sora:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0b1e22;
    color: #e2e8f0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    background: #112a30;
    border-radius: 12px;
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
    border: 1px solid rgba(18, 90, 102, 0.2);
}

.logo {
    display: block;
    height: 32px;
    margin-bottom: 1.5rem;
}

h1 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.subtitle {
    color: #7a9ea6;
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

.error {
    background: #7f1d1d;
    color: #fca5a5;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

label {
    display: block;
    font-size: 0.8rem;
    color: #7a9ea6;
    margin-bottom: 0.375rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 0.75rem;
    background: #0b1e22;
    border: 1px solid #1a4a54;
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    margin-bottom: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

input:focus {
    border-color: #125a66;
    box-shadow: 0 0 0 3px rgba(18, 90, 102, 0.2);
}

button {
    width: 100%;
    padding: 0.75rem;
    background: #125a66;
    color: white;
    border: none;
    border-radius: 8px;
    font-family: 'Sora', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background 0.2s;
}

button:hover {
    background: #0e4850;
}

.demos {
    list-style: none;
    margin-top: 1.5rem;
}

.demos a {
    display: block;
    padding: 1rem;
    background: #0b1e22;
    border: 1px solid #1a4a54;
    border-radius: 8px;
    color: #3cc0d0;
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: border-color 0.2s, background 0.2s;
}

.demos a:hover {
    border-color: #125a66;
    background: #0d252b;
}

.demos .desc {
    color: #7a9ea6;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.logout {
    color: #7a9ea6;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s;
}

.logout:hover {
    color: #ffffff;
}
