/* auth.css — Shared styles for register, change_password, reset_password pages */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.auth-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 500px;
}
.auth-container--narrow {
    max-width: 400px;
}
h1 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}
h1.auth-title--small {
    font-size: 24px;
    margin-bottom: 10px;
}
.subtitle {
    text-align: center;
    color: #777;
    margin-bottom: 30px;
    font-size: 14px;
}
.info-box {
    background: #e8f4fd;
    border-left: 4px solid #2196F3;
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 5px;
}
.info-box p { color: #0c5460; margin: 0; }
.form-group { margin-bottom: 20px; }
label {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-weight: 500;
}
input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}
input:focus { outline: none; border-color: #667eea; }
.error { color: #dc3545; font-size: 14px; margin-top: 5px; }
button {
    width: 100%;
    padding: 12px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}
button:hover { background: #5a67d8; }
.links, .back-link {
    text-align: center;
    margin-top: 20px;
}
.links a, .back-link a { color: #667eea; text-decoration: none; }
.links a:hover, .back-link a:hover { text-decoration: underline; }
.links p { margin-bottom: 6px; }
.flash-messages { margin-bottom: 20px; }
.flash-message {
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}
.flash-success { background: #c6f6d5; color: #22543d; border: 1px solid #9ae6b4; }
.flash-error { background: #fed7d7; color: #742a2a; border: 1px solid #feb2b2; }
.flash-info { background: #bee3f8; color: #2c5282; border: 1px solid #90cdf4; }
.flash-warning { background: #feebc8; color: #7b341e; border: 1px solid #fbd38d; }
