:root {
    --bg-color: #0a0a0a;
    --card-bg: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --border-color: #333333;
    --accent: #4a4a4a;
    --accent-hover: #6a6a6a;
    --error: #ff4a4a;
    --success: #4aff4a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(-45deg, #050505, #2a2a2a, #4a4a4a, #1a1a1a);
    background-size: 400% 400%;
    animation: gradientBG 6s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.auth-container {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

/* Custom Logo Styling (No circular background, just letters) */
.logo-container {
    margin-bottom: 2rem;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.logo-letters {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.logo-letter {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    border: 4px solid var(--text-primary);
    border-radius: 50%;
    width: 85px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--card-bg);
    position: relative;
    z-index: 1;
    margin-left: -15px;
    box-shadow: 0 0 15px rgba(255,255,255,0.1);
    animation: pulseGlow 3s infinite alternate;
}

.logo-letter:first-child {
    margin-left: 0;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 10px rgba(255,255,255,0.1), inset 0 0 10px rgba(255,255,255,0.05); }
    100% { box-shadow: 0 0 25px rgba(255,255,255,0.3), inset 0 0 15px rgba(255,255,255,0.2); border-color: #e0e0e0; color: #e0e0e0; }
}

.logo-text-small {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-secondary);
    margin-bottom: 2px;
}

.logo-text-large {
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.8rem 1rem;
    background: #000;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--text-secondary);
    box-shadow: 0 0 0 2px rgba(255,255,255,0.1);
}

.btn {
    width: 100%;
    padding: 0.8rem;
    background: var(--text-primary);
    color: var(--bg-color);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.auth-links {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.auth-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
}

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

.message {
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.message.error {
    background: rgba(255, 74, 74, 0.1);
    color: var(--error);
    border: 1px solid rgba(255, 74, 74, 0.2);
}

.message.success {
    background: rgba(74, 255, 74, 0.1);
    color: var(--success);
    border: 1px solid rgba(74, 255, 74, 0.2);
}

/* Dashboard styles */
.dashboard-container {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    width: 90%;
    max-width: 800px;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}
.btn-logout {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s;
}
.btn-logout:hover {
    background: rgba(255,255,255,0.1);
}
