/* Tema Sanambi (Rolândia/PR) - cores do Manual de Identidade Visual 2025 */
:root {
    --colorPrimary: #164194;      /* Azul Ambiental (institucional) */
    --colorPrimaryDark: #002858;  /* Azul Profundo */
    --colorPrimaryLight: #E4F0F8; /* Off-white azulado */
    --logoUrl: url('/assets/images/logos/sanambi.svg');
    --loginBackground: url('/assets/images/backgrounds/bg-sanambi.jpg');
}

/* Sobrescrever variáveis CSS existentes */
.btn-primary,
.bg-primary {
    background-color: var(--colorPrimary) !important;
    border-color: var(--colorPrimary) !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--colorPrimaryDark) !important;
    border-color: var(--colorPrimaryDark) !important;
}

.text-primary {
    color: var(--colorPrimary) !important;
}

/* Login background customization */
.login-background,
.auth-background {
    background-image: var(--loginBackground) !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Logo customization */
.logo-img img,
.brand-logo img {
    content: var(--logoUrl) !important;
}

/* Headers e elementos com cor primária */
.modal-header.bg-primary,
.card-header.bg-primary,
.navbar.bg-primary {
    background-color: var(--colorPrimary) !important;
}

/* Links e elementos interativos */
a.text-primary:hover {
    color: var(--colorPrimaryDark) !important;
}

/* Badges e elementos de status */
.badge.bg-primary {
    background-color: var(--colorPrimary) !important;
}

/* Form controls com foco na cor primária */
.form-control:focus,
.form-select:focus {
    border-color: var(--colorPrimary) !important;
    box-shadow: 0 0 0 0.2rem rgba(22, 65, 148, 0.25) !important;
}

.sidebar-item .sidebar-link:hover {
    background-color: rgba(22, 65, 148, 0.1) !important;
    color: var(--colorPrimary) !important;
}

/* WhatsApp mantém a cor própria */
.btn-success {
    background-color: #25D366 !important;
    border-color: #25D366 !important;
}
