/*
 * Banking Aesthetic - GestionApp Market
 * Colors:
 * - Primary Blue: #1a3a5a (Deep Navy)
 * - Secondary Blue: #2980b9 (Bright Blue)
 * - Background: #f4f7f9 (Light Grey-Blue)
 * - Text: #2c3e50 (Dark Slate)
 * - Accent: #bdc3c7 (Silver)
 */

:root {
    --primary-color: #1a3a5a;
    --secondary-color: #2980b9;
    --bg-color: #f4f7f9;
    --text-color: #2c3e50;
    --text-muted: #7f8c8d;
    --white: #ffffff;
    --border-color: #dcdde1;
    --error-color: #e74c3c;
    --success-color: #27ae60;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Auth Container */
.auth-container {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 420px;
    border-top: 6px solid var(--primary-color);
    margin: 4rem auto;
}

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

.auth-header h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

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

/* Forms */
.form-group {
    margin-bottom: 1.25rem;
}

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

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(41, 128, 185, 0.1);
}

/* Buttons */
.btn-primary {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background-color: #122a44;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
}

.alert-error {
    background-color: #fdeaea;
    color: var(--error-color);
    border: 1px solid #f5c6cb;
}

.alert-success {
    background-color: #eafaf1;
    color: var(--success-color);
    border: 1px solid #c3e6cb;
}

/* Links */
.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.auth-footer a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

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