/* ===============================
   RESET
=============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #0f172a;
  color: #1e293b;
}
a {
    text-decoration: none;
}
/* ===============================
   LAYOUT GENERAL
=============================== */
.app {
  max-width: 1400px;
  margin: auto;
  padding: 20px;
}

/* ===============================
   HEADER
=============================== */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  padding: 15px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.main-logo {
  height: 60px;
}

.header-right {
  display: flex;
  gap: 10px;
}

.btn-header {
    background: #112d57;
    font-size: 14px;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    color: white;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s;
}

.btn-header:hover {
    background: #00a31e;
}

.btn-logout {
    background: #112d57;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    color: white;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s;
}

.btn-logout:hover {
    background: #00a31e;
}

/* ===============================
   CONFIG
=============================== */
.config {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.config-left,
.config-right {
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
}

/* ===============================
   FORM ELEMENTS
=============================== */
label {
  display: block;
  margin-top: 10px;
  font-weight: 600;
}

input,
select,
button {
  font-family: inherit;
}

input,
select {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
}

.row {
  display: flex;
  gap: 10px;
}

.toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.time-spinner {
  display: flex;
  align-items: center;
  gap: 6px;
}

.time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.time-block input {
  width: 40px;
  text-align: center;
  font-size: 16px;
}

.time-btn {
  width: 24px;
  height: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid #cfd8e3;
  background: #f4f7fb;

  border-radius: 6px;

  cursor: pointer;

  font-size: 12px;
  font-weight: bold;

  line-height: 1;

  padding: 0;

  transition: all 0.15s ease;
}

.time-btn:hover {
  background: #e6edf7;
  border-color: #9fb3cc;
}

.time-btn:active {
  transform: scale(0.96);
}

.time-sep {
  font-weight: bold;
}
.time-icon {
  width: 14px;
  height: 14px;

  stroke: #1f2d3d;
  stroke-width: 2.5;

  fill: none;

  stroke-linecap: round;
  stroke-linejoin: round;

  pointer-events: none;
}
.time-block input {
  text-align: center;
  font-weight: 600;
}
.turno-param-grid {
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
}

.turno-card {
  flex: 1;
  border: 1px solid #dbe2ea;
  border-radius: 8px;
  padding: 0px 6px 14px 6px;
}

.turno-card label {
  display: block;
  text-align: center;
  font-weight: 600;
  margin-bottom: 6px;
}

.turno-card .time-spinner {
  justify-content: center;
}
.turno-field {

  display: flex;
  flex-direction: column;

  gap: 4px;
}

.turno-field small {

  font-size: 11px;

  font-weight: 600;

  color: #64748b;

  text-transform: uppercase;

  letter-spacing: 0.5px;

  padding-left: 2px;
}
.turno-cell {
  position: relative;
  width: 100%;
  height: 100%;
}

.turno-main {
  display: inline-block;
}

.turno-he {
  position: absolute;
  top: -5px;
  right: -5px;

  font-size: 10px;
  font-weight: bold;

  color: #ff0000;
}

/* ===============================
   CHECKBOXES
=============================== */
#diasSemanaContainer {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;

  margin-top: 10px;
}

#diasSemanaContainer label {

  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  min-width: 42px;
  height: 28px;

  padding: 0 8px;

  border: 1px solid #cfd8e3;
  border-radius: 6px;

  background: #f8fafc;

  font-weight: 600;
  font-size: 12px;

  cursor: pointer;

  transition: all 0.15s ease;

  user-select: none;
}

/* 🔹 esconder checkbox real */
#diasSemanaContainer input[type="checkbox"] {
  display: none;
}

/* 🔹 hover */
#diasSemanaContainer label:hover {
  background: #eef4fb;
  border-color: #9fb3cc;
}

/* 🔹 activo */
#diasSemanaContainer input[type="checkbox"]:checked + * {
  color: white;
}

/* 🔹 truco visual checked */
#diasSemanaContainer label:has(input:checked) {

  background: #16325c;
  border-color: #16325c;

  color: white;

  box-shadow:
    0 2px 6px rgba(22, 50, 92, 0.25);
}

/* 🔹 click */
#diasSemanaContainer label:active {
  transform: scale(0.97);
}
/* ===============================
   BUTTONS
=============================== */
button {
  border: none;
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
}

#generate {
  background: #64748b;
  color: white;
}

#generateV2 {
  background: #22c55e;
  color: white;
}

#generateManual {
  background: #eab308;
}

#downloadCsv {
  background: #3b82f6;
  color: white;
}

button:hover {
  opacity: 0.9;
}

.btn-primary {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
}

.btn-warning {
  background-color: #ffc107;
  color: black;
}

.btn-disabled {
  background-color: #6c757d;
  color: white;
  cursor: not-allowed;
  opacity: 0.7;
}
.btn-x {
  background-color: #ffffff;
  color: black;
  border: 1px, solid #cbd5e1;
  padding: 6px 2px;
  cursor: pointer;
}
.btn-x:hover {
  background: #cbd5e1;
}

.btn-x:active {
  transform: scale(0.95);
}
/* ===============================
   PEOPLE LIST
=============================== */
.people-labels {
  display: grid;
  grid-template-columns: 70px 1fr 120px 40px;
  gap: 10px;
  font-size: 13px;
  margin-top: 10px;
}

#peopleList {
  margin-top: 10px;
}
.empleado-row {
  display: grid;
  grid-template-columns: 70px 1fr 120px 40px;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}
.legajo-input {
  text-align: center;
}
/* ===============================
   CHECKBOX DAYS
=============================== */
#diasSemanaContainer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 5px;
}

/* ===============================
   OUTPUT
=============================== */
.output {
  display: grid;
  gap: 20px;
}

.card {
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
}

/* ===============================
   TABLES
=============================== */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

th {
  background: #1e293b;
  color: white;
  padding: 8px;
}

td {
  border: 1px solid #e2e8f0;
  padding: 6px;
  text-align: center;
}
#resumen table {
  font-size: 14px;
}

#resumen td:first-child {
  text-align: left;
  font-weight: 600;
}

#resumen tr:hover {
  background: #f1f5f9;
}

#resumen tr:last-child {
  border-top: 2px solid #6366f1;
}
/* ===============================
   TURNOS COLORS
=============================== */

.error {
  background: #f7e2e2 !important;
}
.turno-row {
  display: grid;
  grid-template-columns: 60px 1fr 80px 80px;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.turno-label {
  font-weight: bold;
}
/* ===============================
   RESUMEN
=============================== */
#resumen table td {
  font-size: 14px;
}

/* ===============================
   FOOTER
=============================== */
footer {
  text-align: center;
  margin-top: 20px;
  color: #94a3b8;
}

/* ===============================
   RESPONSIVE
=============================== */
@media (max-width: 900px) {

  .config {
    grid-template-columns: 1fr;
  }

}
/* ===============================
   SCROLL HORIZONTAL
=============================== */
.tabla-scroll {
  overflow-x: auto;
  border-radius: 8px;
}

/* ===============================
   TABLA
=============================== */
.tabla-cronograma {
  border-collapse: collapse;
  min-width: 900px;
  background: white;
}

.tabla-cronograma th,
.tabla-cronograma td {
  border: 1px solid #e2e8f0;
  padding: 6px;
  text-align: center;
  font-size: 13px;
}

/* ===============================
   HEADER
=============================== */
.tabla-cronograma thead th {
  background: #1e293b;
  color: white;
  position: sticky;
  top: 0;
  z-index: 2;
}
.tabla-cronograma thead tr:first-child th {
  position: sticky;
  top: 0;
  z-index: 5;
}

.tabla-cronograma thead tr:nth-child(2) th {
  position: sticky;
  top: 32px;
  z-index: 5;
}
/* ===============================
   COLUMNAS STICKY
=============================== */

.sticky-col {
  position: sticky;
  background: #f8fafc;
}

/* 🆕 LEGAJO (primera columna) */
.sticky-col.legajo {
  left: 0;
  min-width: 70px;
  max-width: 70px;
  text-align: center;
  z-index: 5;
  border-right: 1px solid #cbd5e1;
}

/* 🆕 NOMBRE (segunda columna) */
.sticky-col.nombre {
  left: 70px;
  min-width: 160px;
  z-index: 5;
  font-weight: 600;
  text-align: left;
}

/* 🔥 HEADER por encima de todo */
.tabla-cronograma thead th.sticky-col {
  z-index: 6;
}

/* ===============================
   TURNOS
=============================== */
.turno-M {
  background: #CCEAF8;
  color: #0000FF;
}

.turno-T {
  background: #FACFAF;
  color: #FF4E00;
}

.turno-N {
  background: #EDEDED;
  color: #000000;
}
.turno-V {
  background: #16a34a; /* verde fuerte */
  color: white;
  font-weight: bold;
}

.turno-CM {
  background: #95e8b3; /* verde suave */
  color: white;
  font-weight: bold;
}
/* ===============================
   FIN DE SEMANA
=============================== */
.weekend {
  background: #A8A8A8; /* gris suave transparente */
}

/* ===============================
   HOVER
=============================== */
.tabla-cronograma tbody tr:hover td {
  background: #9FADFF;
}
/* ===============================
   DASHBOARD
=============================== */
.dashboard {
  margin-bottom: 00px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.dash-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  font-size: 13px;
}

.card h4 {
  font-size: 14px;
  margin-bottom: 10px;
  opacity: 0.8;
}

.ok {
  color: #22c55e;
  font-weight: bold;
}
/* ===============================
   FERIADO
=============================== */

.feriado {
  background: #e08282;
}

/* ===============================
   MODAL TURNOS
=============================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-turno {
  background: #1e293b;
  padding: 15px;
  border-radius: 10px;
  width: 260px;
  color: white;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-weight: bold;
}

.modal-close {
  background: none;
  color: white;
  border: none;
  cursor: pointer;
}

.modal-body {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.modal-body button {
  flex: 1 1 30%;
  padding: 10px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}
/* ===============================
   CSS DEL CRONOGRAMA EN PANTALLA
=============================== */
.output-hidden {
  display: none;
}

.cronograma-header {

  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 10px;
}
.btn-remove-crono {

  background-color: #ffffff;
  color: black;
  border: 1px, solid #cbd5e1;
  padding: 8px 4px;
  cursor: pointer;

  transition: all 0.15s ease;
}

.btn-remove-crono:hover {
  background: #cbd5e1;
}

.btn-remove-crono:active {
  transform: scale(0.95);
}
.cronograma-notas {
  margin-top: 12px;
}

.cronograma-notas textarea {
  width: 100%;
  min-height: 70px;
  resize: vertical;
  padding: 6px;
  font-family: inherit;
}
#cronogramas-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cronograma-item {
  margin-bottom: 20px;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 6px;
  background: #fff;
}
.cronograma-bloque {
  border: 1px solid #ccc;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 20px;
  background: #fff;
}
.bloque-seccion h4 {
  margin: 10px 0 5px;
  font-size: 14px;
  color: #333;
}
/* ===============================
   CRONOGRAMA MINIMIZABLE
=============================== */

.cronograma-collapse-header {

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 12px 14px;

  background: #f8fafc;

  border: 1px solid #dbe2ea;

  border-radius: 10px;

  cursor: pointer;

  user-select: none;

  transition: all 0.15s ease;

  margin-bottom: 12px;
}

.cronograma-collapse-header:hover {

  background: #eef4fb;
  border-color: #9fb3cc;
}

.collapse-icon {

  font-size: 12px;

  color: #16325c;

  transition: transform 0.15s ease;
}

.collapse-title {

  font-size: 14px;
  font-weight: 700;

  color: #16325c;
}

.cronograma-collapse-content {

  overflow: hidden;

  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.cronograma-collapse-content.collapsed {

  display: none;
}
/* ===============================
   ACCIONES ELIMINAR/COMPARTIR
=============================== */

.cronograma-header-actions {

  display: flex;
  gap: 8px;
}

.btn-share-header {

  background: #16325c;
  color: white;

  border: none;

  padding: 8px 12px;

  border-radius: 6px;

  cursor: pointer;

  transition: all 0.15s ease;
}

.btn-share-header:hover {

  background: #1d4b8f;
}
/* ===============================
   AUDITORÍA UI PRO (LIMPIO)
=============================== */

.audit-card {
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 12px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* 🔴 CRÍTICO (faltantes) */
.audit-card.error {
  border-left: 5px solid #dc3545;
  background: #fff5f5;
}

/* 🟡 WARNING (observaciones) */
.audit-card.warning {
  border-left: 5px solid #ffc107;
  background: #fff9e6;
}

/* 🔵 INFO (feriados) */
.audit-card.info {

  border-left: 5px solid #3b82f6;

  background:
    linear-gradient(
      135deg,
      #eff6ff 0%,
      #f8fbff 100%
    );

  position: relative;

  overflow: hidden;
}

/* brillo sutil */
.audit-card.info::before {

  content: "";

  position: absolute;

  top: 0;
  right: 0;

  width: 120px;
  height: 120px;

  background:
    radial-gradient(
      circle,
      rgba(59,130,246,0.10),
      transparent 70%
    );

  pointer-events: none;
}

/* título info */
.audit-card.info .audit-title {

  color: #1d4ed8;

  font-weight: 700;

  display: flex;
  align-items: center;
  gap: 8px;
}

/* items info */
.audit-card.info .audit-item {

  color: #334155;

  font-weight: 500;
}

/* TITULO */
.audit-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
}

/* ITEMS */
.audit-item {
  font-size: 13px;
  color: #333;
  margin-left: 6px;
  line-height: 1.5;
}

/* OK */
.audit-ok {
  padding: 10px;
  border-radius: 6px;
  background: #e9f7ef;
  color: #1e7e34;
  font-weight: 500;
/* separación visual del bloque OK */
  margin-bottom: 18px; }
}

/* BOTÓN */
.btn-cubre {
  margin-top: 10px;
  padding: 6px 12px;
  background: #ffc107;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.2s;
}

.btn-cubre:hover {
  background: #e0a800;
}
/* ===============================
   IMPORT MODAL
=============================== */

.import-modal {

  position: fixed;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px;

  background: rgba(0,0,0,0.45);

  z-index: 9999;
}

.hidden {
  display: none !important;
}

/* ===============================
   BOX
=============================== */

.import-modal-box {

  width: 100%;
  max-width: 560px;

  background: white;

  border-radius: 14px;

  overflow: hidden;

  box-shadow:
    0 16px 50px rgba(0,0,0,0.28);

  animation:
    importModalFade 0.18s ease;
}

@keyframes importModalFade {

  from {
    transform: translateY(8px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ===============================
   HEADER
=============================== */

.import-modal-header {

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 18px 22px;

  background: #16325c;

  color: white;
}

.import-modal-header h2 {

  margin: 0;

  font-size: 20px;
  font-weight: 700;
}

.import-close-btn {

  width: 34px;
  height: 34px;

  border: none;
  border-radius: 8px;

  background: rgba(255,255,255,0.12);

  color: white;

  cursor: pointer;

  font-size: 16px;

  transition: all 0.15s ease;
}

.import-close-btn:hover {

  background: rgba(255,255,255,0.22);
}

/* ===============================
   BODY
=============================== */

.import-modal-body {

  padding: 24px;
}

.import-modal-text {

  margin-bottom: 22px;

  color: #374151;

  font-size: 15px;
}

/* ===============================
   OPTIONS
=============================== */

.import-options {

  display: flex;
  flex-direction: column;

  gap: 14px;
}

.import-card {

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  gap: 6px;

  width: 100%;

  padding: 18px;

  border: 1px solid #d9e1ec;
  border-radius: 10px;

  background: white;

  text-align: left;

  cursor: pointer;

  transition: all 0.16s ease;
}

.import-card:hover {

  border-color: #16325c;

  background: #f8fbff;

  transform: translateY(-1px);

  box-shadow:
    0 6px 18px rgba(22,50,92,0.12);
}

.import-title {

  font-size: 16px;
  font-weight: 700;

  color: #16325c;
}

.import-desc {

  color: #5b6470;

  font-size: 13px;

  line-height: 1.5;
}

/* ===============================
   PUESTOS
=============================== */

.puestos-selector {

  margin-top: 22px;

  display: flex;
  flex-direction: column;

  gap: 8px;
}

.puestos-selector select {

  height: 40px;

  border: 1px solid #cfd8e3;
  border-radius: 8px;

  padding: 0 10px;
}

/* ===============================
   FOOTER
=============================== */

.import-modal-footer {

  display: flex;
  justify-content: flex-end;

  padding:
    14px 24px;

  border-top:
    1px solid #e5e7eb;

  background:
    #fafbfc;
}

.btn-import-cancel {

  height: 38px;

  padding: 0 16px;

  border: 1px solid #cfd8e3;
  border-radius: 8px;

  background: white;

  font-weight: 600;

  cursor: pointer;

  transition: all 0.15s ease;
}

.btn-import-cancel:hover {

  background: #f5f7fa;

  border-color: #9fb3cc;
}
.btn-about{
    background:#111827;
    color:white;
    border:1px solid #2d3b55;
    padding:10px 18px;
    border-radius:10px;
    cursor:pointer;
    transition:.2s;
}

.btn-about:hover{
    background:#1b2740;
}

.about-modal-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.75);
    backdrop-filter:blur(6px);
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:99999;
    padding:20px;
}

.hidden{
    display:none;
}

.about-modal{
    width:min(950px,100%);
    background:#081120;
    border:1px solid rgba(255,255,255,.08);
    border-radius:24px;
    padding:40px;
    position:relative;
    color:white;
    box-shadow:0 20px 60px rgba(0,0,0,.45);
    animation:modalFade .25s ease;
}

@keyframes modalFade{
    from{
        opacity:0;
        transform:translateY(10px) scale(.98);
    }
    to{
        opacity:1;
        transform:none;
    }
}

.about-close{
    position:absolute;
    top:15px;
    right:20px;
    background:none;
    border:none;
    color:#9ca3af;
    font-size:32px;
    cursor:pointer;
}

.about-close:hover{
    color:white;
}

.about-header{
    text-align:center;
    margin-bottom:40px;
}

.about-header h2{
    font-size:36px;
    margin-bottom:10px;
}

.about-header p{
    color:#9ca3af;
    max-width:600px;
    margin:auto;
    line-height:1.6;
}

.about-devs{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:24px;
}

.about-card{
    background:rgba(255,255,255,.03);
    border:1px solid rgba(255,255,255,.06);
    border-radius:20px;
    padding:30px;
    text-align:center;
    transition:.25s;
}

.about-card:hover{
    transform:translateY(-4px);
    border-color:#2563eb;
}

.about-avatar{
    width:110px;
    height:110px;
    border-radius:50%;
    object-fit:cover;
    margin-bottom:18px;
    border:3px solid #2563eb;
    box-shadow:0 0 25px rgba(37,99,235,.35);
}

.about-card h3{
    margin-bottom:10px;
    font-size:24px;
}

.about-role{
    display:block;
    color:#60a5fa;
    margin-bottom:20px;
}

.about-card ul{
    list-style:none;
    padding:0;
    margin:0;
}

.about-card li{
    margin-bottom:10px;
    color:#cbd5e1;
}

.about-footer{
    margin-top:40px;
    text-align:center;
    color:#9ca3af;
}

.about-tech{
    margin-bottom:12px;
}

@media(max-width:768px){

    .about-modal{
        padding:25px;
    }

    .about-header h2{
        font-size:28px;
    }

}
/* ===============================
   SHARE EXPORT
=============================== */

.share-export-root {

  position: fixed;
  left: -99999px;
  top: 0;

  width: fit-content;

  background: white;

  padding: 28px;

  font-family: 'Inter', sans-serif;

  color: #1e293b;
}

.share-header {

  margin-bottom: 24px;
}

.share-brand {

  font-size: 30px;
  font-weight: 800;

  color: #16325c;

  margin-bottom: 4px;
}

.share-subtitle {

  font-size: 14px;

  color: #64748b;

  margin-bottom: 20px;
}

.share-meta-grid {

  display: grid;

  grid-template-columns:
    repeat(2, minmax(220px, 1fr));

  gap: 14px;

  margin-bottom: 18px;
}

.share-meta-grid div {

  background: #f8fafc;

  border: 1px solid #dbe2ea;

  border-radius: 10px;

  padding: 10px 14px;
}

.share-meta-grid span {

  display: block;

  font-size: 11px;

  text-transform: uppercase;

  color: #64748b;

  margin-bottom: 4px;
}

.share-meta-grid strong {

  font-size: 14px;
}

.share-horarios {

  font-size: 13px;

  color: #334155;
}

.share-table-wrapper {

  overflow: hidden;

  border-radius: 12px;

  border: 1px solid #dbe2ea;
}

.share-table {

  border-collapse: collapse;

  font-size: 12px;

  width: 100%;
}

.share-table th {

  background: #16325c;

  color: white;

  padding: 6px;
}

.share-table td {

  border: 1px solid #e2e8f0;

  padding: 5px;

  text-align: center;

  min-width: 28px;
}

.share-table td.emp {

  min-width: 180px;

  text-align: left;

  font-weight: 600;
}

.share-table .weekend {

  background: #d1d5db;
}

.share-table .feriado {

  background: #fca5a5;
}

.share-footer {

  margin-top: 20px;

  text-align: center;
}

.share-warning {

  font-size: 12px;

  color: #b45309;

  margin-bottom: 8px;
}

.share-signature {

  font-size: 10px;

  color: #94a3b8;
}

.btn-share {

  background: #16325c;

  color: white;

  border: none;

  border-radius: 6px;

  padding: 6px 12px;

  cursor: pointer;

  transition: 0.2s;
}

.btn-share:hover {

  background: #1d4b8f;
}
/* ===============================
   LOGIN V2
=============================== */

.login-body {

  min-height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;

  background:
    radial-gradient(
      circle at top,
      #1e3a5f 0%,
      #0f172a 55%
    );

  padding: 20px;
}

.login-container {

  width: 100%;
  max-width: 420px;
}

.login-box {

  background: rgba(255,255,255,0.98);

  border-radius: 22px;

  padding: 42px;

  box-shadow:
    0 20px 60px rgba(0,0,0,0.35);

  text-align: center;
}

.login-logo {

  width: 230px;

  margin-bottom: 18px;
}

.login-box h2 {

  font-size: 32px;

  color: #16325c;

  margin-bottom: 6px;
}

.login-sub {

  color: #64748b;

  margin-bottom: 28px;

  font-size: 14px;
}

.login-box input {

  width: 100%;

  height: 46px;

  border-radius: 10px;

  border: 1px solid #cfd8e3;

  padding: 0 14px;

  font-size: 14px;

  margin-bottom: 14px;

  transition: all 0.15s ease;
}

.login-box input:focus {

  outline: none;

  border-color: #16325c;

  box-shadow:
    0 0 0 3px rgba(22,50,92,0.12);
}

.password-row {

  position: relative;
}

.password-row button {

  position: absolute;

  right: 8px;
  top: 5px;

  width: 36px;
  height: 36px;

  border: none;

  background: transparent;

  cursor: pointer;

  font-size: 16px;
}

#loginBtn {

  width: 100%;

  height: 46px;

  margin-top: 6px;

  background: #16325c;

  color: white;

  border: none;

  border-radius: 10px;

  font-size: 15px;
  font-weight: 600;

  transition: all 0.15s ease;
}

#loginBtn:hover {

  background: #1d4b8f;
}

#loginBtn:disabled {

  opacity: 0.7;

  cursor: not-allowed;
}

#loginError {

  margin-top: 16px;

  min-height: 18px;

  color: #dc2626;

  font-size: 13px;

  font-weight: 500;
}
/* ===============================
   DEMO / BOTONES BLOQUEADOS
=============================== */

button:disabled {

  opacity: 0.55;

  cursor: not-allowed;

  filter: grayscale(0.15);
}

button:disabled:hover {

  opacity: 0.55;

  transform: none;
}
/* ===============================
   SHARE HORARIOS
=============================== */

.share-horarios {

  display: flex;

  flex-wrap: wrap;

  align-items: center;

  gap: 10px;

  margin-top: 18px;

  font-size: 13px;
}

.share-turno-chip {

  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-width: 24px;

  height: 24px;

  padding: 0 8px;

  border-radius: 999px;

  color: white;

  font-weight: 700;

  font-size: 12px;
}

.share-turno-hora {

  margin-right: 8px;

  font-weight: 500;

  color: #334155;
}

.share-separator {

  color: #94a3b8;

  margin-right: 4px;
}
/* ===============================
   SOPORTE WHATSAPP
================================ */
.about-support {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.about-support-text {
    font-size: 14px;
    color: #94a3b8;
    text-align: center;
}

.about-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 20px;

    background: #25D366;
    color: white;

    border-radius: 10px;

    text-decoration: none;
    font-weight: 600;
    font-size: 14px;

    transition: all 0.2s ease;
}

.about-whatsapp-btn:hover {
    background: #1ebe5d;
    transform: translateY(-1px);
}

.about-whatsapp-btn:active {
    transform: scale(0.98);
}