/* FCW Stable - Global Styles */

:root {
    --primary: #1a1a1a;
    --secondary: #f8f8f6;
    --accent: #b8975a;
    --text: #2d2d2d;
    --text-light: #6b6b6b;
    --error: #c94d4d;
    --success: #4caf50;
    --warning: #ffc107;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Work Sans', sans-serif;
    color: var(--text);
    /* Background e layout específicos ficam no CSS inline de cada página */
}

/* Common Container Styles (para páginas de auth) */
.auth-container, .login-container, .register-container, .reset-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    max-width: 500px;
    width: 100%;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.auth-container::before, .login-container::before, 
.register-container::before, .reset-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

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

input, textarea, select {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: 'Work Sans', sans-serif;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(184, 151, 90, 0.1);
}

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

.btn:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(184, 151, 90, 0.3);
}

.btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid #e0e0e0;
    margin-top: 0.5rem;
}

.btn-secondary:hover {
    background: var(--secondary);
    border-color: var(--accent);
}

/* Message Styles */
.message {
    padding: 0.8rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    display: none;
}

.message.error {
    background: #ffe6e6;
    color: var(--error);
}

.message.success {
    background: #e8f5e9;
    color: var(--success);
}

.message.show {
    display: block;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

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

/* Links */
a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 2rem;
    }

    .header h1 {
        font-size: 1.75rem;
    }
}
