/* csi-ombudsman-frontend/public/css/fallow.css */

/* Definindo variáveis de cores */
:root {
    --primary: #4e5c9d;
    --secondary: #6a7bb7;
    --light-bg: #f9fbfd;
    --border: #e0e6eb;
    --text-muted: #6c757d;
    --success: #28a745;
    --danger: #dc3545;
    --accent: #2D3748;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Estilo base do body */
body {
    font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.5;
}

/* Container principal */
.container.py-3 {
    padding: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Título principal */
h1.fw-bold {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    text-align: center;
}

/* Separador (para consistência com success.css) */
.separator {
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

/* Cartão */
.card {
    border: none;
    border-radius: 12px;
    background: var(--light-bg);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 1.5rem;
}

/* Textos */
p.text-muted {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-align: center;
}

p.text-success {
    font-size: 1rem;
    color: var(--success);
    font-weight: 600;
    margin-top: 1rem;
    text-align: center;
}

p.text-danger {
    font-size: 1rem;
    color: var(--danger);
    font-weight: 600;
    margin-top: 1rem;
    text-align: center;
}

/* Formulário */
.form-label {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-control {
    border-radius: 8px;
    border: 2px solid var(--border);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(78, 92, 157, 0.2);
    outline: none;
}

.invalid-feedback {
    font-size: 0.9rem;
    color: var(--danger);
    margin-top: 0.25rem;
}

/* Botões */
.button-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-primary {
    background: var(--primary);
    border: 2px solid var(--primary);
    color: #fff;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(78, 92, 157, 0.3);
}

.btn-primary.w-md-auto {
    width: auto;
}

/* Responsividade */
@media (max-width: 768px) {
    .container.py-3 {
        padding: 1rem;
    }

    h1.fw-bold {
        font-size: 1.5rem;
    }

    .separator {
        width: 60px;
        height: 3px;
    }

    .card-body {
        padding: 1rem;
    }

    .form-control {
        padding: 0.6rem 0.9rem;
        font-size: 0.95rem;
    }

    .btn-primary {
        width: 100%;
        padding: 0.6rem 1rem;
        font-size: 0.95rem;
    }

    p.text-muted,
    p.text-success,
    p.text-danger {
        font-size: 0.9rem;
    }
}