/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

body {
  font-family: 'Comfortaa', sans-serif !important;
  font-weight: 400;
}

.nav-link.config {
  color: #3a3a3a !important;
}

.nav-link.custom-active {
  background-color: #e0e0e0 !important;
  border-left: 4px solid #287cfa;
}

.upload-box {
  border: 2px dashed #048ec4;
  border-radius: 16px;
  background: #f9f9f9;
  width: 100%;
  height: 100%;
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-box:hover {
  background: #eef9fc;
}

.upload-inner {
  text-align: center;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.upload-input {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

#container canvas {
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}


/* ===========================
   Sinergia update layout
=========================== */

/* ===========================
   Paleta do manual:
   - Verde: #38b000
   - Azul:  #0077b6
   - Azul escuro: #0a6a93
   - Laranja: #ff9900
=========================== */

/* Sidebar (aplica no container e nos filhos que "pintam" o fundo) */
.sinergia-sidebar,
.sinergia-sidebar .sidebar-nav,
.sinergia-sidebar .sidebar-header,
.sinergia-sidebar .sidebar-brand {
  background: #ffffff !important;
}

.sinergia-sidebar{
  border: 1px solid rgba(10, 106, 147, 0.10) !important;
  box-shadow: 0 10px 24px rgba(10, 106, 147, 0.08) !important;
}

.sinergia-sidebar-header{
  background: transparent !important;
  border-color: rgba(10, 106, 147, 0.12) !important;
}

.sinergia-brand{
  color: #0a6a93 !important;
}

.sinergia-brand span{
  color: #0a6a93 !important;
  letter-spacing: -0.01em !important;
}

.sinergia-avatar-fallback{
  background: #eef3f7 !important;
  color: #6c757d !important;
}

.sinergia-governanca-nome{
  color: #0a6a93 !important;
}

/* Sidebar nav */
.sinergia-nav{
  padding: 10px !important;
}

.sinergia-nav-title{
  color: rgba(10, 106, 147, 0.65) !important;
  font-weight: 700 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
  margin: 10px 12px 6px !important;
  font-size: 12px !important;
}

/* Links */
.sinergia-nav-link{
  border-radius: 12px !important;
  padding: 10px 12px !important;
  color: #0a6a93 !important;
  transition: background-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease !important;
}

.sinergia-nav-link .nav-icon{
  color: rgba(10, 106, 147, 0.75) !important;
  width: 18px !important;
  height: 18px !important;
}

.sinergia-nav-link:hover{
  background: rgba(0, 119, 182, 0.08) !important;
  color: #0077b6 !important;
  transform: translateX(2px) !important;
}

.sinergia-nav-link:hover .nav-icon{
  color: #0077b6 !important;
}

.sinergia-nav-link.active{
  background: rgba(56, 176, 0, 0.12) !important;
  color: #0a6a93 !important;
  font-weight: 700 !important;
  box-shadow: inset 0 0 0 1px rgba(56, 176, 0, 0.18) !important;
}

.sinergia-nav-link.active .nav-icon{
  color: #38b000 !important;
}

/* Header/top */
.sinergia-header{
  background: #ffffff !important;
  border: 1px solid rgba(10, 106, 147, 0.10) !important;
  border-radius: 12px !important;
  margin: 10px !important;
  padding: 10px 12px !important;
  box-shadow: 0 10px 24px rgba(10, 106, 147, 0.06) !important;
}

.sinergia-breadcrumb{
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

.sinergia-breadcrumb-link{
  color: #0077b6 !important;
  font-weight: 600 !important;
}

.sinergia-breadcrumb-muted{
  color: rgba(10, 106, 147, 0.65) !important;
  font-weight: 600 !important;
}

.sinergia-breadcrumb-active{
  color: #0a6a93 !important;
  font-weight: 800 !important;
}

/* Ajuste específico do sticky header do CoreUI */
.header.header-sticky{
  border-radius: 0px !important;
  margin-top: 0px !important;
  margin-left: 0px !important;
  margin-right: 0px !important;
}

/* ===========================
   KPI cards (Dashboard)
=========================== */

.card-kpi {
  border: 0 !important;
  border-radius: 18px !important;
  color: #fff !important;
  box-shadow: 0 10px 26px rgba(10, 106, 147, 0.18) !important;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease !important;
  overflow: hidden !important;
  min-height: 150px !important;
}

.card-kpi .card-body{
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 16px !important;
  padding: 22px !important;
}

.card-kpi:hover{
  transform: translateY(-2px) !important;
  box-shadow: 0 16px 34px rgba(10, 106, 147, 0.24) !important;
  filter: saturate(1.05) !important;
}

.kpi-icon{
  width: 54px !important;
  height: 54px !important;
  border-radius: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255,255,255,.18) !important;
}

.kpi-icon svg { width: 26px; height: 26px; }

.kpi-value{
  font-size: 36px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
}

.kpi-label{
  margin-top: 6px !important;
  opacity: .9 !important;
  font-weight: 500 !important;
}

/* Paleta Sinergia */
.kpi-green     { background: linear-gradient(135deg, #38b000 0%, #2f9e00 100%) !important; }
.kpi-blue      { background: linear-gradient(135deg, #0077b6 0%, #0a6a93 100%) !important; }
.kpi-blue-dark { background: linear-gradient(135deg, #0a6a93 0%, #075474 100%) !important; }
.kpi-orange    { background: linear-gradient(135deg, #ff9900 0%, #ffb347 100%) !important; }






/*.sinergia-table thead th{*/
/*  color: rgba(10, 106, 147, 0.85) !important;*/
/*  font-weight: 700 !important;*/
/*}*/

/*!* Faixa lateral bem sutil (azul escuro) *!*/
/*.sinergia-table tbody tr{*/
/*  border-left: 3px solid rgba(10, 106, 147, 0.10) !important;*/
/*}*/

/*!* Hover com azul claro bem transparente*/
/*   (Bootstrap aplica background no td/th, então mira nos filhos) *!*/
/*.sinergia-table.table-hover tbody tr:hover > *{*/
/*  background-color: rgba(0, 119, 182, 0.06) !important;*/
/*}*/

/*!* Zebra mais leve *!*/
/*.sinergia-table.table-striped > tbody > tr:nth-of-type(odd) > *{*/
/*  background-color: rgba(10, 106, 147, 0.025) !important;*/
/*}*/

/*!* Detalhes por coluna (bem discreto) usando a paleta *!*/
/*.sinergia-table tbody td:nth-child(2){ !* CNPJ *!*/
/*  border-left: 1px solid rgba(0, 119, 182, 0.10) !important;*/
/*}*/

/*.sinergia-table tbody td:nth-child(3){ !* Vertente *!*/
/*  border-left: 1px solid rgba(56, 176, 0, 0.10) !important;*/
/*}*/

/*.sinergia-table tbody td:nth-child(4){ !* Eixo *!*/
/*  border-left: 1px solid rgba(255, 153, 0, 0.12) !important;*/
/*}*/



/* ===========================
   Sinergia - Tabelas (global)
   Aplica em todas as .table do sistema
=========================== */

.table thead th{
  color: rgba(10, 106, 147, 0.85) !important;
  font-weight: 700 !important;
}

.table > tbody > tr{
  border-left: 3px solid rgba(10, 106, 147, 0.10) !important;
}


.table.table-hover > tbody > tr:hover > *{
  background-color: rgba(0, 119, 182, 0.06) !important;
}


.table.table-striped > tbody > tr:nth-of-type(odd) > *{
  background-color: rgba(10, 106, 147, 0.025) !important;
}

.table > tbody > tr > td + td{
  border-left: 1px solid rgba(10, 106, 147, 0.06) !important;
}

/* ===========================
   Sinergia - Dropdown (global)
=========================== */

.dropdown-menu .dropdown-item{
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.dropdown-menu .dropdown-item i,
.dropdown-menu .dropdown-item svg{
  opacity: .65 !important;
}

/* hover do item do menu (bem suave) */
.dropdown-menu .dropdown-item:hover{
  background-color: rgba(0, 119, 182, 0.06) !important;
}


.btn-primary{
  background: #0a6a93;
}

.active>.page-link, .page-link.active{
  background: #0a6a93;
}

/* ===========================
   Sinergia - Forms (global)
=========================== */

.field_with_errors{
  display: contents !important;
}
.field_with_errors input,
.field_with_errors select,
.field_with_errors textarea{
  border-color: rgba(220, 53, 69, 0.55) !important; /* vermelho bootstrap (suave) */
  box-shadow: 0 0 0 .2rem rgba(220, 53, 69, 0.12) !important;
}
.field_with_errors label{
  color: rgba(220, 53, 69, 0.85) !important;
}


.form-label{
  font-weight: 700 !important;
  color: rgba(10, 106, 147, 0.85) !important;
  margin-bottom: .35rem !important;
}


.form-control,
.form-select{
  border-radius: 12px !important;
  border-color: rgba(10, 106, 147, 0.14) !important;
  box-shadow: none !important;
}

.form-control:focus,
.form-select:focus{
  border-color: rgba(0, 119, 182, 0.55) !important;              /* azul */
  box-shadow: 0 0 0 .2rem rgba(0, 119, 182, 0.14) !important;    /* azul com transparência */
}


.form-control::placeholder{
  color: rgba(10, 106, 147, 0.40) !important;
}


.row.mb-3{
  margin-bottom: 1rem !important;
}


.btn{
  border-radius: 12px !important;
}

.btn-primary{
  background-color: #0077b6 !important;
  border-color: #0077b6 !important;
}
.btn-primary:hover{
  background-color: #0a6a93 !important;
  border-color: #0a6a93 !important;
}


/* ===========================
   Sinergia - FullCalendar
=========================== */

.sinergia-calendar-card{
  border: 1px solid rgba(10, 106, 147, 0.10) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}

/* variáveis oficiais do FullCalendar */
.fc{
  --fc-border-color: rgba(10, 106, 147, 0.10) !important;
  --fc-page-bg-color: transparent !important;

  --fc-today-bg-color: rgba(56, 176, 0, 0.08) !important; /* verde suave */
  --fc-neutral-bg-color: rgba(10, 106, 147, 0.04) !important;
  --fc-neutral-text-color: rgba(10, 106, 147, 0.70) !important;

  --fc-event-text-color: #ffffff !important;
}

/* toolbar (título + botões) */
.fc .fc-toolbar{
  margin-bottom: 12px !important;
}

.fc .fc-toolbar-title{
  color: rgba(10, 106, 147, 0.92) !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
  text-transform: lowercase !important; /* combina com “janeiro de 2026” */
}

.fc .fc-button{
  border-radius: 10px !important;
  border: 1px solid rgba(10, 106, 147, 0.18) !important;
  background: #ffffff !important;
  color: rgba(10, 106, 147, 0.90) !important;
  padding: 6px 10px !important;
  box-shadow: 0 6px 14px rgba(10, 106, 147, 0.06) !important;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease !important;
}

.fc .fc-button:hover{
  background: rgba(0, 119, 182, 0.06) !important;
  box-shadow: 0 10px 20px rgba(10, 106, 147, 0.10) !important;
  transform: translateY(-1px) !important;
}

.fc .fc-button:focus{
  box-shadow: 0 0 0 .2rem rgba(0, 119, 182, 0.14) !important;
}

.fc .fc-button-primary:not(:disabled).fc-button-active,
.fc .fc-button-primary:not(:disabled):active{
  background: rgba(0, 119, 182, 0.12) !important;
  border-color: rgba(0, 119, 182, 0.35) !important;
  color: #0a6a93 !important;
}

.fc .fc-col-header-cell-cushion{
  color: rgba(10, 106, 147, 0.70) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  padding: 8px 6px !important;
}


.fc .fc-daygrid-day-number{
  color: rgba(10, 106, 147, 0.75) !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  padding: 6px 8px !important;
}


.fc .fc-day-today{
  box-shadow: inset 0 0 0 1px rgba(56, 176, 0, 0.18) !important;
}


.fc .fc-daygrid-event{
  border: 0 !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #0077b6 0%, #0a6a93 100%) !important;
  box-shadow: 0 10px 22px rgba(10, 106, 147, 0.14) !important;
}


.sinergia-calendar{
  min-height: 640px !important;
}




.sinergia-page-card{
  height: 87vh !important;
  border-radius: 20px !important;
  overflow: hidden !important;
}


.sinergia-grid-card{
  border-radius: 18px !important;
  overflow: hidden !important;
  border: 1px solid rgba(10, 106, 147, 0.10) !important;
  background: linear-gradient(159deg, rgba(0,119,182,0.92) 0%, rgba(247,247,247,1) 100%) !important;
  transition: transform .15s ease, box-shadow .15s ease !important;
}

.sinergia-grid-card:hover{
  transform: translateY(-2px) !important;
  box-shadow: 0 16px 34px rgba(10, 106, 147, 0.18) !important;
}

.sinergia-grid-card-cover{
  height: 120px !important;
  object-fit: cover !important;
  width: 100% !important;
  display: block !important;
  border-bottom: 2px solid rgba(255,255,255,0.85) !important;
}

.sinergia-grid-card-cover--empty{
  background: transparent !important;
}

.sinergia-grid-card-body{
  padding: 12px !important;
  background: rgba(255,255,255,0.70) !important; /* “vidro” suave */
  backdrop-filter: blur(6px) !important;
}

.okr-card {
  border: 1px solid #E0E0E0;
}

.resultado-card {
  border: 1px solid #ECECEC;
}

.filtro-card {
  border: 1px solid #EAEAEA;
  background-color: #FAFAFA;
}

.grid-portfolios {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

.folder-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: 0.2s ease-in-out;
  border: 1px solid #e5e7eb;
}

.folder-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.folder-link {
  text-decoration: none;
  color: #1f2937;
}

.folder-icon {
  font-size: 48px;
  margin-bottom: 10px;
}

.folder-name {
  font-weight: 600;
  font-size: 14px;
}

.kanban-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  width: 100%;
  height: calc(100vh - 220px);
}

.kanban-column {
  background: #f4f6f8;
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.kanban-column h5 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #344054;
}

.kanban-count {
  background: #e4e7ec;
  color: #344054;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 20px;
  margin-left: 6px;
  font-weight: 600;
}

.kanban-list {
  flex: 1;
  overflow-y: auto;
  padding-right: 4px;
}

.kanban-card {
  background: white;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid #eaecf0;
  cursor: grab;
  transition: all .15s ease;
}

.kanban-card:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
  transform: translateY(-2px);
}

.kanban-card-title {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #101828;
}

.kanban-card-subtitle {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #3d404b;
}

.kanban-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #667085;
  margin-bottom: 8px;
}

.kanban-progress {
  background: #f2f4f7;
  height: 6px;
  border-radius: 6px;
  overflow: hidden;
}

.kanban-progress-bar {
  height: 100%;
  background: #22c55e;
}

.kanban-prazo.atrasado {
  color: #ef4444;
  font-weight: 600;
}

/* Cores por status */
.status-0 { border-left: 4px solid #94a3b8; }  /* Não iniciado */
.status-1 { border-left: 4px solid #3b82f6; }  /* Em andamento */
.status-2 { border-left: 4px solid #22c55e; }  /* Concluído */
.status-3 { border-left: 4px solid #ef4444; }  /* Cancelado */
.status-4 { border-left: 4px solid #f97316; }  /* Atrasado */
.status-5 { border-left: 4px solid #eab308; }  /* Suspenso */

.fc-daygrid-event-dot {
  border-color: #ffff;
}

.fc-event-time, .fc-event-title {
  color: #ffff;
}