:root {
    --bg-dark: #0B0F19;
    --bg-surface: #0F172A;
    --bg-card: #1E293B;
    --bg-input: #0F172A;
    
    --primary-blue: #3B82F6;
    --primary-blue-hover: #2563EB;
    --border-blue: rgba(59, 130, 246, 0.25);
    
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --text-heading: #FFFFFF;
    --font-family: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-family);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.top-header {
    background-color: var(--bg-surface);
    border-bottom: 2px solid var(--primary-blue);
    padding: 1rem 0;
}

.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-accent {
    color: var(--primary-blue);
}

.top-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 1.25rem;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.top-links a:hover {
    color: var(--primary-blue);
}

.auth-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
}

.auth-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-blue);
    border-radius: 12px;
    padding: 2.5rem;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.badge {
    display: inline-block;
    background-color: rgba(59, 130, 246, 0.15);
    color: var(--primary-blue);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    border: 1px solid var(--border-blue);
}

.auth-header h2 {
    color: var(--text-heading);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-main);
}

.forgot-link {
    font-size: 0.8rem;
    color: var(--primary-blue);
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

input {
    background-color: var(--bg-input);
    border: 1px solid var(--border-blue);
    color: var(--text-heading);
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.btn {
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: 1rem;
    border: none;
}

.btn-primary {
    background-color: var(--primary-blue-hover);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-full {
    width: 100%;
    margin-top: 0.5rem;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}