:root {
    --bg-color: #0d1117;
    --card-bg: rgba(22, 27, 34, 0.95);
    --accent: #4CAF50;
    --text-main: #f0f6fc;
    --text-dim: #8b949e;
    --input-bg: #0d1117;
    --border: #30363d;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    margin: 15px;
}

.brand-header {
    text-align: center;
    margin-bottom: 2rem;
}

.logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 10px;
}

h1 {
    font-size: 1.5rem;
    margin: 0;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 1rem;
    background: var(--input-bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: white;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

input:focus {
    outline: none;
    border-color: var(--accent);
}

button {
    width: 100%;
    padding: 12px;
    background: var(--accent);
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.2s;
}

button:hover {
    opacity: 0.9;
}

/* Step 2 Profile Styling */
.user-profile {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.05);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.pfp {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-right: 12px;
    object-fit: cover;
    border: 2px solid var(--accent);
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-info span {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.remember-label {
    display: block;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-dim);
}

.error-state {
    text-align: center;
    color: #ff7b72;
}

.footer-links {
    margin-top: 2rem;
    font-size: 0.75rem;
    text-align: center;
    color: var(--text-dim);
}

.footer-links a {
    color: var(--accent);
    text-decoration: none;
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .login-container {
        padding: 1.5rem;
        border: none;
        background: transparent;
        box-shadow: none;
    }
}