:root {
    --primary-color: #8A2BE2;
    --bg-color: #121212;
    --card-bg: #1E1E1E;
    --text-color: #FFFFFF;
    --link-color: #9D4EDD;
}

body {
    margin: 0;
    padding: 0;
    background: var(--bg-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    box-sizing: border-box;
}

.auth-form {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(138, 43, 226, 0.1);
    animation: formAppear 0.5s ease-out;
    width: 100%;
    box-sizing: border-box;
}

@keyframes formAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-color);
    font-size: 28px;
    font-weight: 600;
}

form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
}

input {
    width: 100%;
    padding: 15px;
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    display: block;
}

input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.submit-btn {
    width: 100%;
    height: 50px;
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    margin-top: 10px;
}

.submit-btn:hover {
    background: #9D4EDD;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

.error {
    color: #ff4444;
    text-align: center;
    margin-bottom: 20px;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.form-group:hover input {
    background: rgba(255, 255, 255, 0.08);
}

.auth-links {
    margin-top: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.register-text {
    color: var(--text-color);
    margin: 0;
    font-size: 14px;
}

.auth-links a {
    color: var(--link-color);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.auth-links a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.auth-links a[href="forgot-password.php"] {
    opacity: 0.8;
    font-size: 13px;
} 