:root {
    --primary: #000000;
    --bg: #ffffff;
    --text: #000000;
    --text-dim: #666666;
    --border: #eeeeee;
    --error: #ff3b30;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

nav {
    position: static !important; /* Place nav in normal document flow on auth screens */
    background: #000000;
}

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 400px;
    padding: 2rem 2rem 5rem; /* Extra bottom padding for optical vertical centering (slightly above center) */
    margin: 0 auto;
    text-align: center;
}

#login-section, #dashboard-section {
    width: 100%;
}

.logo-img {
    height: 70px;
    width: auto;
    margin-bottom: 2rem;
}

h1 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

p {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

input:focus {
    border-color: var(--primary);
}

button {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
    transition: opacity 0.3s;
}

button:hover {
    opacity: 0.9;
}

.error-message {
    color: var(--error);
    font-size: 0.8rem;
    margin-top: 1rem;
    display: none;
}

.dashboard {
    display: none;
}

footer {
    position: static !important; /* Place footer in normal document flow on auth screens */
}

/* Loading state */
.loading {
    opacity: 0.5;
    pointer-events: none;
}




