/*
Authentication forms (login/signup) styles.
- Clean, modern look for all auth pages.
*/

/* Auth Container
   - Main wrapper for login/signup forms.
*/

.auth-container {
    max-width: 500px;
    margin: 50px auto;
    padding: 20px;
}

/* Auth Form
   - Card-style form layout.
*/

.auth-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Auth Header
   - Title and subtitle for auth pages.
*/

.auth-header {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.auth-header h1 {
    color: #667eea;
    margin-bottom: 10px;
}

.auth-header h2 {
    color: #333;
    margin-bottom: 10px;
}

.auth-header p {
    color: #666;
    font-size: 16px;
}

/* Form Group
   - Label and input styling.
*/

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Auth Buttons
   - Login and signup button styles.
*/

.auth-btn {
    display: block;
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin: 20px 0;
    transition: all 0.3s;
}

.auth-btn-login {
    background: #667eea;
    color: white;
}

.auth-btn-login:hover {
    background: #5a67d8;
    transform: translateY(-2px);
}

.auth-btn-signup {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.2s;
}

.auth-btn-signup:hover {
    background: linear-gradient(90deg, #5a6fd8 0%, #6a4190 100%);
}

/* Auth Links
   - Links for switching between login/signup.
*/

.auth-links {
    text-align: center;
    margin-top: 20px;
}

.auth-links a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

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

/* Error List
   - Styles for form validation errors.
*/

.errorlist {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
    padding: 0;
}

.errorlist li {
    list-style: none;
    margin-bottom: 5px;
}

/* Signup Form
   - Modern signup form with spacing and focus effects.
*/

.signup-form {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(60, 60, 120, 0.12);
    padding: 32px 28px;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.signup-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.signup-form label {
    font-weight: 600;
    color: #4b4b6b;
    margin-bottom: 2px;
}

.signup-form input {
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 15px;
    background: #f8f9fa;
    transition: border 0.2s;
}

.signup-form input:focus {
    border-color: #667eea;
    outline: none;
    background: #fff;
}

.signup-form .help-text {
    color: #888;
    font-size: 12px;
    margin-top: 2px;
}

.signup-form .form-errors,
.signup-form .form-group .errorlist {
    color: #dc3545;
    font-size: 13px;
    margin-top: 2px;
    list-style: none;
    padding-left: 0;
}