/**
 * BRAND COLORS - BGM GROUP
 * Cor principal: #FF5E0C (Laranja da logo)
 * Este arquivo sobrescreve todas as cores azuis do tema
 */

:root {
    /* Cores principais */
    --accent-color: #FF5E0C;
    --accent-hover: #E54E00;
    --accent-light: #FF7A33;
    --accent-dark: #CC4A09;
    
    /* Botões */
    --button-bg: #FF5E0C;
    --button-hover-bg: #E54E00;
    --button-text: #ffffff;
    
    /* Primary colors (usado em vários componentes) */
    --primary: #FF5E0C;
    --primary-hover: #E54E00;
    
    /* Info colors (light mode) */
    --light-info: #FF5E0C;
    --light-info-bg: #FFF4ED;
}

/* Sobrescrever cores específicas de componentes */
body:not(.dark-theme) {
    --light-info: #FF5E0C;
    --light-info-bg: #FFF4ED;
}

/* Botões e links com cor de accent */
.btn-primary,
.glass-btn,
.me-invite-btn,
.me-search-btn,
.modal-actions .btn-save,
button[type="submit"],
.submit-btn,
.primary-btn,
.action-btn {
    background: linear-gradient(135deg, #FF5E0C 0%, #E54E00 50%, #FF5E0C 100%) !important;
}

.btn-primary:hover,
.glass-btn:hover,
.me-invite-btn:hover,
.me-search-btn:hover,
.modal-actions .btn-save:hover,
button[type="submit"]:hover,
.submit-btn:hover,
.primary-btn:hover,
.action-btn:hover {
    background: linear-gradient(135deg, #FF7A33, #FF5E0C) !important;
}

/* Checkboxes */
.glass-checkbox:checked,
input[type="checkbox"]:checked {
    background: #FF5E0C !important;
    border-color: #FF5E0C !important;
    accent-color: #FF5E0C !important;
}

/* Links */
.glass-forgot-link:hover,
.glass-create-link:hover,
.glass-terms-link,
a:not(.btn):not(.card):hover {
    color: #FF5E0C !important;
}

/* Títulos e destaques */
h1, h2, h3, h4, h5, h6 {
    color: inherit;
}

h2.accent,
.accent-color {
    color: #FF5E0C !important;
}

/* Tabelas */
th {
    background: #2d3548 !important;
    color: #FF5E0C !important;
}

/* Cards e backgrounds com accent */
.me-acordo-card {
    background: linear-gradient(135deg, #1a1f2e 0%, #E54E00 50%, #FF5E0C 100%) !important;
}

/* Alertas e notificações */
.mt-alert {
    background: linear-gradient(135deg, #CC4A09 0%, #E54E00 50%, #FF5E0C 100%) !important;
}

/* Ícones e badges */
.me-info-icon,
.accent-icon,
.topbar-balance i,
.sidebar-avatar {
    color: #FF5E0C !important;
}

/* Avatar background */
.sidebar-avatar {
    background: #FF5E0C !important;
}

/* Inputs com foco */
input:focus,
textarea:focus,
select:focus {
    border-color: #FF5E0C !important;
    outline-color: #FF5E0C !important;
}

/* Light mode específico */
body:not(.dark-theme) .me-invite-input,
body:not(.dark-theme) .me-search-input {
    border-color: #FF5E0C !important;
}

body:not(.dark-theme) .me-invite-input:focus,
body:not(.dark-theme) .me-search-input:focus {
    border-color: #FF5E0C !important;
}

body:not(.dark-theme) .me-invite-btn {
    background: #FF5E0C !important;
}

body:not(.dark-theme) .me-invite-btn:hover {
    background: #E54E00 !important;
}

body:not(.dark-theme) .me-info-icon {
    color: #E54E00 !important;
}

body:not(.dark-theme) .me-info-text b {
    color: #E54E00 !important;
}

body:not(.dark-theme) .me-cpa,
body:not(.dark-theme) .me-link-cell {
    color: #E54E00 !important;
}

body:not(.dark-theme) .me-link-cell:hover {
    color: #CC4A09 !important;
}

body:not(.dark-theme) .me-comm {
    background: rgba(255, 94, 12, 0.06) !important;
    border-color: rgba(255, 94, 12, 0.15) !important;
    color: #E54E00 !important;
}

body:not(.dark-theme) .me-perf-card.highlight .me-perf-value {
    color: #E54E00 !important;
}

/* Badges e labels */
.badge-primary,
.label-primary {
    background: #FF5E0C !important;
    color: #ffffff !important;
}

/* Sidebar e navegação */
.sidebar-partnership-select:hover {
    border-color: #FF5E0C !important;
}

/* Active link na sidebar */
.sidebar-link.active {
    background: rgba(255, 94, 12, 0.15) !important;
}

.sidebar-link.active::before {
    background: #FF5E0C !important;
}

.sidebar-link.active i {
    color: #FF5E0C !important;
}

body:not(.dark-theme) .sidebar-link.active {
    background: rgba(255, 94, 12, 0.08) !important;
}

body:not(.dark-theme) .sidebar-link.active i {
    color: #FF5E0C !important;
}

/* Planos semanais (que eram azuis) */
body:not(.dark-theme) .plan-weekly,
.plan-badge-weekly {
    background: #FF5E0C !important;
    color: #ffffff !important;
}

/* PWA Tutorial e modais */
.pwa-step-num,
.pwa-notif-btn.active,
.pwa-dismiss-toggle.on {
    background: #FF5E0C !important;
}

.pwa-notif-btn.active:hover {
    background: #E54E00 !important;
}

body:not(.dark-theme) .pwa-dismiss-toggle.on {
    background: #FF5E0C !important;
}

/* Dropdown de casas */
.sidebar-partnership-option .partner-check {
    color: #FF5E0C !important;
}

/* Textos com cor de destaque */
.text-primary,
.text-accent {
    color: #FF5E0C !important;
}

/* Bordas com accent */
.border-accent {
    border-color: #FF5E0C !important;
}

/* Backgrounds com opacity */
.bg-accent-light {
    background: rgba(255, 94, 12, 0.1) !important;
}

.bg-accent {
    background: #FF5E0C !important;
}

/* Hover states genéricos */
.hover-accent:hover {
    color: #FF5E0C !important;
}

/* Progress bars */
.progress-bar,
.progress-fill {
    background: #FF5E0C !important;
}

/* Switches e toggles */
.switch:checked,
.toggle:checked {
    background: #FF5E0C !important;
}

/* Tooltips */
.tooltip {
    background: #FF5E0C !important;
}

/* Scrollbars (webkit) */
::-webkit-scrollbar-thumb {
    background: #FF5E0C !important;
}

::-webkit-scrollbar-thumb:hover {
    background: #E54E00 !important;
}
