:root {
    --bg: #111;
    --fg: #fff;
    --panel: #1a1a1a;
    --border: #333;
    --accent: #fff;
    --accent-hover: #ccc;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    background-color: var(--bg);
    color: var(--fg);
}

.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* --- Navigation --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--panel);
    border-bottom: 1px solid var(--border);
}

nav .logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--fg);
    text-decoration: none;
}

nav .nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--fg);
    font-weight: 500;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--accent);
}

        .logo {
            display: flex;
            align-items: center;
            font-size: 1.5rem;
            font-weight: bold;
            text-decoration: none;
            color: inherit;
        }

        .logo-icon {
            width: 24px;   /* tweak size */
            height: 24px;
            margin-right: 8px;
        }

/* --- Buttons --- */
.btn {
    background: var(--accent);
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s;
}

.btn:hover {
    color: #000;
    background: var(--accent-hover);
}

.btn.ghost {
    background: transparent;
    color: var(--fg);
    border: 1px solid var(--border);
}

.btn.ghost:hover {
    background: var(--panel);
}

/* --- Login Form --- */
.form-container {
    max-width: 400px;
    margin: 4rem auto;
    padding: 2rem;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.form-container h1 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #aaa;
}

.form-group input {
    width: 100%;
    padding: 10px;
    background: #222;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--fg);
    box-sizing: border-box;
}

.form-container p {
    text-align: center;
    color: #888;
}
.form-container a {
    color: var(--accent);
    cursor: pointer;
}


/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    background-color: #1a1a1a;
    color: #888;
}
.footer-links a {
    color: #aaa;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: #4facfe;
}
.copyright {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.form-group textarea,
.form-group select,
.form-group input[type="file"] {
    width: 100%;
    padding: 10px;
    background: #222;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--fg);
    box-sizing: border-box;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input[type="file"] {
    cursor: pointer;
    border: 1px dashed var(--border);
    background: #1a1a1a;
}

.form-group input[type="file"]::file-selector-button {
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    cursor: pointer;
    font-weight: 600;
    margin-right: 10px;
}

.form-group input[type="file"]::file-selector-button:hover {
    background: var(--accent-hover);
}
