:root {
    --bg-color: #0d1117;
    --card-bg: #161b22;
    --text-main: #f0f6fc;
    --text-dim: #8b949e;
    --accent: #58a6ff;
    --accent-hover: #1f6feb;
    --error: #f85149;
    --border: #30363d;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-box {
    width: 100%;
    max-width: 380px;
    padding: 40px;
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

h2 {
    text-align: center;
    margin-bottom: 24px;
    font-weight: 500;
    letter-spacing: -0.5px;
}

.input-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-main);
}

input {
    width: 100%;
    padding: 10px 12px;
    box-sizing: border-box;
    background-color: var(--bg-color);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: white;
    font-size: 14px;
    transition: border-color 0.2s;
}

input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.1);
}

button {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

button:hover {
    background-color: var(--accent-hover);
}

#message {
    margin-top: 20px;
    text-align: center;
    font-size: 13px;
    min-height: 18px;
    font-weight: 500;
}

.footer-note {
    margin-top: 25px;
    text-align: center;
    font-size: 12px;
    color: var(--text-dim);
}