/* =====================================================
   PALETA INSTITUCIONAL
   Fonte: mockups index.html / login.html fornecidos pela Patricia.
   Não alterar os 5 valores de marca sem validar com o time de design.
===================================================== */

:root {
    --blue-dark: #164194;
    --blue-medium: #008BD2;
    --green: #52AE32;
    --orange: #EF4910;
    --teal: #6CC2BA;

    --sidebar-width: 270px;

    --background: #f6f8fb;
    --white: #ffffff;

    --text-primary: #24364f;
    --text-secondary: #6b7788;

    --border: #dfe5ec;
    --danger: #d33a2c;
}

/* =====================================================
   RESET
===================================================== */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: var(--background);
    color: var(--text-primary);
    overflow-x: hidden;
}

a {
    color: inherit;
}

/* =====================================================
   FORMULÁRIO (padrão institucional, usado em qualquer tela)
===================================================== */

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: #3e4b5c;
    margin-bottom: 8px;
    display: block;
}

.form-control,
.form-select {
    min-height: 48px;
    border: 1px solid #d8e0e8;
    border-radius: 8px;
    font-size: 14px;
    width: 100%;
    padding: 10px 14px;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 3px rgba(0, 139, 210, 0.1);
    border-color: var(--blue-medium);
    outline: none;
}

.field-help {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 6px 0 0;
}

.field-error {
    font-size: 12px;
    color: var(--danger);
    margin-top: 6px;
}

/* =====================================================
   BOTÕES DE MARCA (reutilizáveis em qualquer tela)
===================================================== */

.btn-brand-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--blue-medium), var(--blue-dark));
    border: none;
    border-radius: 9px;
    padding: 12px 20px;
    color: white;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s;
}

.btn-brand-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(22, 65, 148, 0.25);
    color: white;
}

.btn-brand-danger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--danger);
    border: none;
    border-radius: 9px;
    padding: 12px 20px;
    color: white;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
}

.btn-brand-danger:hover {
    filter: brightness(0.92);
}
