:root {
    --background-primary: #313338;
    --background-secondary: #2b2d31;
    --background-tertiary: #1e1f22;
    --text-primary: #f3f4f5;
    --text-secondary: #b5bac1;
    --brand: #5865f2;
    --brand-hover: #4752c4;
    --danger: #da373c;
    --success: #23a559;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'gg sans', 'Segoe UI', 'Helvetica Neue', sans-serif;
}

body {
    background-color: var(--background-tertiary);
    color: var(--text-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-container {
    background-color: var(--background-primary);
    padding: 32px;
    border-radius: 5px;
    width: 480px;
}

.login-header {
    text-align: center;
    margin-bottom: 24px;
}

.login-header h1 {
    font-size: 24px;
    margin-bottom: 8px;
}

.login-header p {
    color: var(--text-secondary);
    font-size: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.form-group input {
    width: 100%;
    padding: 10px;
    background-color: var(--background-tertiary);
    border: none;
    border-radius: 3px;
    color: var(--text-primary);
    font-size: 16px;
}

.form-group input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--brand);
}

.login-button {
    width: 100%;
    padding: 12px;
    background-color: var(--brand);
    color: white;
    border: none;
    border-radius: 3px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 8px;
}

.login-button:hover {
    background-color: var(--brand-hover);
}

.register-link {
    color: var(--brand);
    font-size: 14px;
    text-decoration: none;
}

.register-link:hover {
    text-decoration: underline;
}

.error-message {
    color: var(--danger);
    font-size: 14px;
    margin-top: 8px;
    display: none;
}

.success-message {
    color: var(--success);
    font-size: 14px;
    margin-top: 8px;
    display: none;
}