.content {
  margin-left: 250px;
  width: calc(100% - 250px);
  height: 100vh;
  overflow-y: auto;
  padding: 20px 40px;
  background-color: #f0f2f5;
}
.scrollable-area {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
h1 {
  font-size: 1.6rem;
  color: #2c3e50;
  margin-bottom: 20px;
  font-weight: 800;
}

.form-container {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
  flex-shrink: 0;
}
.row {
  display: flex;
  gap: 20px;
  margin-bottom: 18px;
  align-items: flex-end;
}
.col {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.col label {
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: #34495e;
  text-transform: uppercase;
}

input[type="text"],
input[type="date"],
select {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.9rem;
  width: 100%;
}
.status-flags {
  display: flex;
  gap: 15px;
  background: #f8f9fa;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #ddd;
}
.radio-label {
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.jornadas-selection-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  background: #f1f3f5;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
  min-height: 80px;
}
.escala-selection-item label {
  background: #fff;
  border: 1px solid #ddd;
  padding: 6px 12px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  transition: 0.2s;
}

.row-botoes-final {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 10px;
}
.btn-save {
  background: #27ae60;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
}
.btn-clear {
  background: #95a5a6;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
}

/* LISTAGEM CENTRALIZADA */
.header-lista-usuarios {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0 20px 0;
  padding: 0 10px;
}
.titulo-sessao-central {
  margin: 0 !important;
  font-size: 1.4rem;
  color: #2c3e50;
  font-weight: 800;
  text-transform: uppercase;
}

.filtro-setor-container {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  padding: 8px 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.filtro-setor-container label {
  font-size: 0.75rem;
  font-weight: 800;
  color: #666;
  text-transform: uppercase;
}
.filtro-setor-container select {
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.85rem;
  width: 180px;
  cursor: pointer;
  outline: none;
}

.colunas-empresas {
  display: flex;
  gap: 15px;
  height: 650px;
  margin-bottom: 50px;
}
.empresa-col {
  flex: 1;
  background: #ebedef;
  padding: 15px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  min-width: 300px;
}
.empresa-col h2 {
  font-size: 1.1rem;
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 2px solid #ccc;
  margin-bottom: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

.titulo-avul {
  color: #e74c3c;
  border-bottom-color: #e74c3c !important;
}
.titulo-vccl {
  color: #3498db;
  border-bottom-color: #3498db !important;
}
.titulo-vsbl {
  color: #27ae60;
  border-bottom-color: #27ae60 !important;
}

.lista-rolagem {
  overflow-y: auto;
  flex-grow: 1;
  padding-right: 8px;
}
.lista-rolagem::-webkit-scrollbar {
  width: 6px;
}
.lista-rolagem::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 10px;
}

.card-func {
  background: white;
  border-radius: 10px;
  margin-bottom: 15px;
  border: 1px solid #e1e8ed;
  border-left: 8px solid #ccc;
}
.card-header-name {
  padding: 10px 15px;
  background: #f8f9fa;
  font-weight: 800;
  font-size: 0.88rem;
  border-bottom: 1px solid #edf2f7;
  color: #2c3e50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 10px 10px 0 0;
}

/* NOVO SELO IDENTIFICADOR ID */
.badge-id-identificador {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
  color: #fff;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 900;
  margin-right: 10px;
  border: 1px solid #333;
  min-width: 55px;
  text-align: center;
}

.badge-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 6px;
  color: white;
  font-weight: 800;
  line-height: 1.2;
  min-width: 90px;
  text-align: center;
}

.badge-status span {
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-status small {
  font-size: 0.65rem;
  font-weight: 600;
  opacity: 0.9;
}

.status-Ativo {
  background-color: #27ae60;
}

.status-Inativo {
  background-color: #e74c3c;
}

.card-body-container {
  display: flex;
  padding: 15px;
  justify-content: space-between;
  align-items: center;
}
.card-info-content {
  font-size: 0.82rem;
  line-height: 1.6;
  color: #4a5568;
  flex: 1;
}
.card-info-content span {
  font-weight: 800;
  color: #718096;
  margin-right: 5px;
}

.card-action-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 15px;
  border-left: 1px solid #edf2f7;
}
.btn-icon-edit {
  color: #f39c12;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
}
.btn-icon-delete {
  color: #e74c3c;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
}

.border-avul {
  border-left-color: #e74c3c !important;
}
.border-vccl {
  border-left-color: #3498db !important;
}
.border-vsbl {
  border-left-color: #27ae60 !important;
}
.container-escalas-card {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #e2e8f0;
}
.tag-escala-card {
  display: inline-block;
  background: #edf2f7;
  color: #2c3e50;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  margin: 2px;
  font-weight: 700;
  border: 1px solid #cbd5e0;
}