
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,800;1,900&display=swap');

:root{
  --green: #9fc42c;
  --text: #616160;
  --border: #dddddd;
  --radius: 28px;
    --brand:#95c11f;         /* verde maqueta */
    --ink:#374151;
    --muted:#6b7280;
    --bg:#f5f7f8;
    --card:#fff;
    --shadow:0 8px 20px rgba(0,0,0,.08);
    --r:16px;
    --footer-h:78px;
}
a {
    text-decoration: none;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:"Lato", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  /* background:#f2f2f2; */
  font-size: 13px;
}

.wrapper{
  display:grid;
  place-items:center;
}
.phone{
  width:100%;
  background:#fff;
}

.header{
  background:var(--green);
  color:#fff;
  position: fixed;
  padding: 30px 20px 20px 20px;
  text-align:left;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  z-index: 101;
  width: 100%;
}

.header-inner{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.brand svg{height:28px; width:auto; display:block}
.user svg{height:28px; width:28px; display:block}

.content{
  position:relative;
  z-index:1;
  padding: 14px 15px;
  padding-bottom:110px; /* for bottom bar */
  margin-top: 100px;
}

h1,h2,h3{margin: 0 0 22px 0;line-height:1.1;color:#3a3a39}
h1{font-weight:800; font-size:24px}
h2{font-weight: 300;font-size: 18px;color: #4a4a49;letter-spacing:.04em;text-align: center;}
p{margin:0 0 16px 0;}

.form{
  display:grid;
  gap:14px;
  margin-top:12px;
}
.input, .select, textarea{
  width:100%;
  border:1px solid var(--border);
  border-radius:12px;
  padding:14px 14px;
  font:400 16px Lato, sans-serif;
  color:var(--text);
  outline:none;
}
textarea{min-height: 120px;resize:vertical;font-size: 14px;}
button.btn{
  width: 40px;
  height: 40px;
  background:var(--green);
  color:#fff;
  border:none;
  border-radius: 100%;
  /* padding:14px 20px; */
  font:800 16px Lato, sans-serif;
  cursor:pointer;
  transform: scale(.7);
}
.ico img {
    height: 40px;
    width: 40px;
}

.title span {
    font-weight: 800;
    display: block;
}

.btns {
    display: flex;
    align-items: center;
    gap: 5px;
}
.btns img {
    height: 40px;
    margin-right: 0;
    background-color: #9fc42c;
    padding: 10px;
    width: 40px;
    border-radius: 100%;
}
.list{display: flex;gap: 15px;margin-top:12px;width: 100%;justify-content: space-between;background-color: #fff;padding: 15px 0 15px 15px;box-shadow: 0 0 15px rgba(0,0,0,.2);border-radius: 10px;align-items: center;}
.item{
  display:flex;
  align-items:center;
  gap:12px;
  border:1px solid var(--border);
  border-radius:12px;
  padding:14px 12px;
  text-decoration:none;
}
.item .ico svg{width:36px;height:36px;display:block}
.item .title{
  flex:1;
  font-weight:800;
  color:#4a4a49;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.item .subtitle{display:block; font-weight:300; text-transform:none; color:#8b8b8a}
.item .mic svg{width:28px;height:28px}

.bottom-bar{
  position: fixed;
  left:0;
  right:0;
  bottom:0;
  background:var(--green);
  margin: 0;
  z-index: 99;
}
.bottom-btn{
  background:#fff;
  color:var(--green);
  width:64px; height:64px;
  border-radius:50%;
  display:grid; place-items:center;
  position:absolute;
  left:50%; transform:translateX(-50%);
  bottom:24px;
  box-shadow:0 8px 14px rgba(0,0,0,.18);
}
.bottom-btn svg{width:30px;height:30px}
.home svg{width:28px;height:28px;}

.splash{
  background:var(--green);
  min-height:100vh;
  display:grid;
  place-items:center;
}
.splash .logo svg{width:160px; height:auto}
h2 strong {
    font-weight: 800;
}
.login{
  padding-top: 0;
  text-align:center;
  margin-top: 60px;
}
.login h1{
  font-size: 24px;
  font-weight:300;
  color:#8b8b8a;
  line-height: 46px;
  letter-spacing: 3px;
}
.login h1 strong{font-weight:800;color: #9fc42c;}
.help a{
  color:#9b9b9a;
  font-size: 14px;
}
.help a:hover {
    color: #9fc42c;
}
.link{color: #4a4a49 !important;font-weight:800;text-decoration:none}

.safe{
  /* padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); */
}

/* Voice toggle (CSS-only) */
.voice-toggle{position:fixed; right:26px; bottom:32px;}
.voice-toggle input{position:absolute; opacity:0}
.voice-toggle .mic-default, .voice-toggle .mic-rec{display:none}
.voice-toggle input:not(:checked) ~ .mic-default{display:block}
.voice-toggle input:checked ~ .mic-rec{display:block}
.voice-toggle svg{width:64px;height:64px}

.brand {
    justify-content: space-between;
    display: flex;
    width: 100%;
    margin: auto;
    padding: 0 15px;
    align-items: center;
}

.brand img {
    height: 25px;
}

.mic-default button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    outline: none;
}

.mic-default img {
    height: 100px;
    width: 100px;
    margin-top: -100px;
    border: solid 8px #fff;
    border-radius: 100%;
    background-color: #9fc42c;
    padding: 14px;
}

.home img {
    height: 15px;
    margin-right: 5px;
}

.home a {
    color: #fff;
}

.ico-title {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 15px 30px;
}

.ico-title img {
    height: 30px;
    margin-right: 20px;
}

.ico-title h2 {
    text-align: left;
    margin: 0;
}

.list .title {
    flex: 1;
    text-align: left;
    font-weight: 400;
    color: #8b8b8a;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.list .title .subtitle {
    display: block;
    font-weight: 800;
    text-transform: uppercase;
    color: #4a4a49;
    margin-top: 2px;
}
img.logo-color {
    height: 60px;
    margin: -20px auto 0px;
}
.btns img:hover {
    background-color: #ccc;
}
.mic-default img:hover {
    background-color: red;
}
.enviado {
    text-align: center;
    margin-top: 0px;
    padding: 0 30px;
}

.enviado a {
    background: #9fc42c;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 14px 20px;
    font: 800 16px Lato, sans-serif;
    letter-spacing: .02em;
    margin: 20px;
    display: block;
}

.enviado a:hover {
    background: #ccc;
}
  /* ====== Lista de tareas ====== */
  .task-list{display:grid; gap:12px}
  .task-card{
    background:var(--card); border-radius:14px; padding:14px 14px 16px; box-shadow:var(--shadow);
  }
  .task-type{
    font-weight:900; color:#374151; margin:0 0 6px; font-size:1rem;
    display:flex; align-items:center; gap:8px;
  }
  .dot{
    width:10px; height:10px; border-radius:999px; background:var(--brand);
  }
  .task-desc{margin:0; color:#4b5563; line-height:1.35}
  /* ====== Footer Tabs (pegado abajo) ====== */
  .footer-tabs{
    position:fixed;
    left:0;
    right:0;
    bottom: 50px;
    height: 100px;
    padding: 50px 12px 0;
    z-index: 2;
    display:flex;
    justify-content:center;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
  }
  .footer-tabs__wrap{
    display: flex;
    grid-template-columns:1fr 1fr 1fr;
    gap: 20px;
  }
  .tab-btn{
    appearance:none;
    padding:10px 10px;
    align-items:center;
    justify-content:center;
    color: white;
    border: solid 5px;
    border-radius: 100%;
    cursor: pointer;
    display: flex;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    transition: all 0.3s 
ease;
    height: 80px;
    width: 80px;
    flex-direction: column;
    text-transform: uppercase;
    margin-top: 10px;
    background: #aaa;
  }
  .tab-btn svg, .tab-btn img{width: 24px;height: 24px;flex:0 0 auto;}
  .tab-btn[aria-selected="true"]{
    background: #9fc42c;
  }
  .tab-btn:focus-visible{outline:3px solid #a7d129aa; outline-offset:2px}
  /* Fader para cuando el contenido pasa por debajo del footer */
  .bottom-fade{
    position:fixed; left:0; right:0;
    bottom:calc(var(--footer-h) + env(safe-area-inset-bottom,0px) - 1px);
    height:72px; pointer-events:none;
    background:linear-gradient(to bottom, rgba(245,247,248,0), rgba(245,247,248,.9) 60%, rgba(245,247,248,1));
    z-index:9;
  }
  [hidden]{display:none !important}
  .pendiente .dot {
    background: red;
}
.btns a {
    width: 40px;
    height: 40px;
}
.title {
    font-size: 12px;
    width: 40%;
}
.bajada-tareas {
    display: flex;
    justify-content: space-between;
    margin: 0px auto 10px;
}
a.borrar {
    color: #ccc;
    text-decoration: underline;
    font-style: italic;
}
.menu-engrane {
    background: #9fc42c;
    padding: 10px;
    margin: 0 auto;
    margin-top: -200px;
    z-index: 102;
    position: fixed;
    right: 10px;
    top: 0;
    border-radius: 10px;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 200px;
}
.menu-engrane ul {
    list-style: none;
    padding: 0 10px;
    text-align: center;
    margin: 0;
}
.menu-engrane ul li {
    line-height: 21px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding: 10px 0;
}
.menu-engrane ul li:last-child {
    border-bottom: none;
}
.menu-engrane a {
    color: #fff;
    text-decoration: none;
    display: block;
    font-weight: 500;
    font-size: 14px;
}
.menu-engrane a:hover {
    opacity: 0.9;
}
.menu-engrane.active {
    margin-top: 0;
    top: 80px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.respuestas h3.task-type {
    color: #9fc42c !important;
}
/* ===== Chat-style para task-card (80% ancho + alternado L/R) ===== */
.task-list {
  display: grid;
  gap: 14px;
}
/* base */
.task-card {
  width: 80%;
  position: relative;
  border-radius: 14px;
  padding: 14px 14px 16px;
  box-shadow: var(--shadow);
  background: var(--card);
}
/* impar: a la derecha (1,3,5,...) */
.task-list .task-card:nth-child(2n+1) {
  margin-left: auto;          /* empuja a la derecha */
  background: #eef7d1;        /* burbuja verdosa suave (ajusta si quieres) */
}
/* par: a la izquierda (2,4,6,...) */
.task-list .task-card:nth-child(2n) {
  margin-right: auto;         /* empuja a la izquierda */
  background: #ffffff;        /* burbuja blanca */
}
/* ===== Salida (cola) arriba, apuntando seg?n lado ===== */
.task-card::after {
  content: "";
  position: absolute;
  top: -10px;                 /* cola por arriba */
  border: 10px solid transparent;
}
/* cola para las DERECHAS (impares) */
.task-list .task-card:nth-child(2n+1)::after {
  right: 22px;                /* separada del borde derecho */
  border-bottom-color: #eef7d1; /* mismo color de la burbuja derecha */
}
/* cola para las IZQUIERDAS (pares) */
.task-list .task-card:nth-child(2n)::after {
  left: 22px;                 /* separada del borde izquierdo */
  border-bottom-color: #ffffff; /* mismo color de la burbuja izquierda */
}
/* ===== Avatar opcional (si lo incluyes dentro de .task-card) ===== */
.task-card .avatar {
  position: absolute;
  top: -26px;                 /* sobresale por arriba, cerca de la ?salida? */
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  object-fit: cover;
}
/* Alinea el avatar con cada lado */
.task-list .task-card:nth-child(2n+1) .avatar { /* derecha */
  right: 6px;
}
.task-list .task-card:nth-child(2n) .avatar {   /* izquierda */
  left: 6px;
}
/* Detalles finos para t?tulos de la tarjeta (si ya usas .task-type/.task-desc, se mantienen) */
.task-type { margin-top: 8px; }
.task-desc { margin-top: 6px; }
.btn-pie {
    margin: 30px 0;
    text-align: center;
}
.btn-pie a {
    background: #9fc42c;
    padding: 10px 20px;
    border-radius: 8px;
    color: #fff;
}
.btn-pie a:hover {
    background: #ccc;
   }
#pane-tareas article.task-card {
    width: 100%;
    background: #fff;
}
#pane-tareas .task-list .task-card:nth-child(2n+1)::after {
    display: none;
}
.group-title {
    text-transform: uppercase;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    pointer-events: none;
    font-size: 16px;
    width: 80%;
    margin: 0 auto 20px;
}

.group-title::before, .group-title::after {content: "";height: 2px;background: rgba(139, 139, 139, .9);flex: 1 1 auto;}

.grup-title span {
    white-space: nowrap;
}
p.help span {
    display: block;
    font-weight: 600;
    margin-top: 2px;
}


 @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }
    
    .btn:disabled {
      opacity: 0.6;
      cursor: not-allowed;
    }
    
    textarea:disabled {
      opacity: 0.6;
      cursor: not-allowed;
      background-color: #f5f5f5;
    }
    
    /* Mejorar experiencia táctil en móvil */
    #micButton {
      -webkit-touch-callout: none;
      -webkit-user-select: none;
      -khtml-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
      -webkit-tap-highlight-color: transparent;
      touch-action: manipulation;
    }
    
    #micButton:active {
      transform: scale(0.95);
      transition: transform 0.1s ease;
    }
    
    #micButton.active {
      background-color: #ff6b6b;
      animation: pulse 1s infinite;
    }
    
    @keyframes pulse {
      0% { transform: scale(1); }
      50% { transform: scale(1.05); }
      100% { transform: scale(1); }
    }
    
    /* Estilos para la pestaña de tareas */
    .tareas-tab {
      position: relative;
      z-index: 10;
      display: flex;
      gap: 20px;
    }
    
    .tab-tareas-btn {
      background: #9fc42c;
      color: white;
      border: solid 5px;
      border-radius: 100%;
      cursor: pointer;
      display: flex;
      gap: 6px;
      font-size: 10px;
      font-weight: 700;
      transition: all 0.3s ease;
      height: 70px;
      width: 70px;
      flex-direction: column;
      text-transform: uppercase;
      margin-top: -50px;
      align-items: center;
    }
    
    .tab-tareas-btn:hover {
      background: #ccc;
      transform: scale(.99);
    }
    
    .tab-tareas-btn.active {
      background: #28a745;
    }
    
    .tab-tareas-btn svg {
      width: 16px;
      height: 16px;
      margin-top: 10px;
    }
    
    .panel-tareas {
      position: fixed;
      bottom: 80px;
      left: 20px;
      right: 20px;
      background: white;
      border-radius: 12px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.15);
      max-height: 60vh;
      overflow-y: auto;
      z-index: 1000;
      border: 1px solid #e0e0e0;
    }
    
    .panel-tareas-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 16px 20px;
      border-bottom: 1px solid #e0e0e0;
      background: #f8f9fa;
      border-radius: 12px 12px 0 0;
    }
    
    .panel-tareas-header h3 {
      margin: 0;
      font-size: 16px;
      font-weight: 600;
      color: #333;
    }
    
    .btn-cerrar {
      background: none;
      border: none;
      font-size: 24px;
      color: #666;
      cursor: pointer;
      padding: 0;
      width: 30px;
      height: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      transition: all 0.2s ease;
    }
    
    .btn-cerrar:hover {
      background: #e9ecef;
      color: #333;
    }
    
    .bajada-tareas {
      padding: 16px 0px;
      border-bottom: 1px solid #e0e0e0;
    }
    
    .bajada-tareas h4 {
      margin: 0 0 12px 0;
      font-size: 14px;
      font-weight: 500;
      color: #666;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    
    .bajada-tareas .dot {
      width: 8px;
      height: 8px;
      background: #ffc107;
      border-radius: 50%;
      display: inline-block;
    }
    
    .bajada-tareas .btns {
      display: flex;
      justify-content: flex-end;
    }
    
    .btn-borrar {
      background: #dc3545;
      color: white;
      text-decoration: none;
      padding: 6px 12px;
      border-radius: 6px;
      font-size: 12px;
      font-weight: 500;
      transition: all 0.2s ease;
      width: 100px !important;
      height: 29px !important;
    }
    
    .btn-borrar:hover {
      background: #c82333;
      color: white;
      text-decoration: none;
    }
    
    .task-list {
      padding: 30px 10px;
      max-height: 100%;
      overflow-y: auto;
    }
    
    .task-card {
      background: #f8f9fa;
      border: 1px solid #e0e0e0;
      border-radius: 8px;
      padding: 12px;
      margin-bottom: 12px;
    }
    
    .task-card:last-child {
      margin-bottom: 0;
    }
    
    .task-card .task-type {
      margin: 0 0 8px 0;
      font-size: 14px;
      font-weight: 600;
      color: #333;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    
    .task-card .task-desc {
      margin: 0;
      font-size: 13px !important;
      color: #666;
      line-height: 1.4;
    }
    
    /* Asegurar que el bottom-bar tenga el layout correcto */
    .bottom-bar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 20px;
      height: 50px;
    }
    
    /* Estilos para tareas pendientes */
    .task-card.pendiente {
      border-left: 4px solid #ffc107;
      background: #fff3cd;
    }
    
    .task-card.pendiente .dot {
      background: #ffc107;
      animation: pulse 2s infinite;
    }
    
    .task-card:not(.pendiente) {
      border-left: 4px solid #28a745;
      background: #d4edda;
    }
    
    .task-card:not(.pendiente) .dot {
      background: #28a745;
    }
    
    .task-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
      transition: all 0.3s ease;
    }

    /* Responsive para pantallas pequeñas */
    @media (max-width: 480px) {
      .panel-tareas {
        left: 10px;
        right: 10px;
        bottom: 70px;
      }
      
      .tab-tareas-btn {
      }
      
      .tab-tareas-btn svg {
        width: 18px;
        height: 18px;
        margin: 10px auto 0;
      }
    }

/* ========================================
   FORMULARIO CON BOTÓN LATERAL
   Aplicado globalmente (móvil y desktop)
   ======================================== */

/* Contenedor flex para textarea + botón */
.form .form-with-side-button {
    display: flex !important;
    gap: 10px;
    align-items: flex-end;
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
}

/* Textarea dentro del contenedor */
.form .form-with-side-button textarea {
    flex: 1 !important;
    min-height: 100px;
    width: auto !important;
    margin: 0;
    box-sizing: border-box;
}

/* Botón de envío (estilos base para todos los selectores) */
.form .form-with-side-button .btn-submit-side,
.form .form-with-side-button button#submitButton.btn-submit-side {
    /* Dimensiones */
    width: 80px !important;
    min-width: 80px !important;
    max-width: 80px !important;
    height: 100px !important;
    min-height: 100px !important;
    
    /* Layout */
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    flex-grow: 0;
    
    /* Estilos visuales */
    background: var(--brand);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    
    /* Espaciado */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
    /* Interacción */
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Hover state */
.form .form-with-side-button .btn-submit-side:hover,
.form .form-with-side-button button#submitButton.btn-submit-side:hover {
    background: #85a91a;
    transform: scale(1.02);
}

/* Active state */
.form .form-with-side-button .btn-submit-side:active,
.form .form-with-side-button button#submitButton.btn-submit-side:active {
    transform: scale(0.98);
}

/* SVG dentro del botón */
.form .form-with-side-button .btn-submit-side svg {
    width: 24px;
    height: 24px;
    fill: white;
}

/* ========================================
   RESPONSIVE: MÓVILES MEDIANOS
   ======================================== */
@media (max-width: 480px) {
    .form .form-with-side-button {
        gap: 8px;
    }
    
    .form .form-with-side-button .btn-submit-side,
    .form .form-with-side-button button#submitButton.btn-submit-side {
        width: 70px !important;
        min-width: 70px !important;
        max-width: 70px !important;
        height: 80px !important;
        min-height: 80px !important;
    }
    
    .form .form-with-side-button textarea {
        min-height: 80px;
        font-size: 14px;
    }
    
    .form .form-with-side-button .btn-submit-side svg {
        width: 20px;
        height: 20px;
    }

    .form .form-with-side-button button#submitButton.btn-submit-side {
        width: 70px !important;
        min-width: 70px !important;
        max-width: 70px !important;
        height: 80px !important;
        min-height: 80px !important;
    }
}

/* ========================================
   RESPONSIVE: MÓVILES PEQUEÑOS (VERTICAL)
   ======================================== */
@media (max-width: 360px) {
    .form .form-with-side-button {
        flex-direction: column !important;
        gap: 10px;
    }
    
    .form .form-with-side-button .btn-submit-side,
    .form .form-with-side-button button#submitButton.btn-submit-side {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        height: 52px !important;
        min-height: 52px !important;
    }
    
    .form .form-with-side-button textarea {
        width: 100% !important;
    }
}

@media (max-width: 768px) {
       .col-email{
         display: none;
       }
}
    .form-container {
      background: white;
      padding: 20px;
      border-radius: 10px;
      margin-bottom: 20px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .form-group {
      margin-bottom: 15px;
    }
    
    .form-group label {
      display: block;
      margin-bottom: 5px;
      font-weight: bold;
      color: #333;
    }
    
    .form-group input {
      width: 100%;
      padding: 10px;
      border: 1px solid #ddd;
      border-radius: 5px;
      font-size: 16px;
    }
    
    .btn {
      background: #007bff;
      color: white;
      padding: 10px 20px;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-size: 16px;
      margin-right: 10px;
    }
    
    .btn:hover {
      background: #0056b3;
    }
    
    .btn-danger {
      background: #dc3545;
    }
    
    .btn-danger:hover {
      background: #c82333;
    }
    
    .btn-warning {
      background: #ffc107;
      color: #212529;
    }
    
    .btn-warning:hover {
      background: #e0a800;
    }
    
    .table-container {
      background: white;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 10px;
      font-size: 13px;
    }
    
    th, td {
      padding: 12px;
      text-align: left;
      border-bottom: 1px solid #ddd;
    }
    
    th {
      background-color: #f8f9fa;
      font-weight: bold;
    }
    
    .message {
      padding: 15px;
      margin-bottom: 20px;
      border-radius: 5px;
    }
    
    .message.success {
      background: #d4edda;
      color: #155724;
      border: 1px solid #c3e6cb;
    }
    
    .message.error {
      background: #f8d7da;
      color: #721c24;
      border: 1px solid #f5c6cb;
    }
    
    .btn-small {
      padding: 10px;
      font-size: 12px;
      margin: 2px;
    }
    
    .modal {
      display: none;
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0,0,0,0.5);
      overflow-y: auto;
    }
    
    .modal-content {
      background-color: white;
      margin: 50px auto;
      padding: 20px;
      border-radius: 10px;
      width: 90%;
      max-width: 500px;
      max-height: calc(100vh - 100px);
      overflow-y: auto;
    }
    
    .close {
      color: #aaa;
      float: right;
      font-size: 28px;
      font-weight: bold;
      cursor: pointer;
    }
    
    .close:hover {
      color: black;
    }
.btn-del {
    background: #c82333 !important;
    transform: rotate(45deg) scale(.7) !important;
}
.btn-crear,
button#submitButton{
    width: 100% !important;
    border-radius: 8px !important;
    height: 52px;
    font-size: 24px;
}

/* Override para submitButton cuando está dentro del form-with-side-button */
.form .form-with-side-button button#submitButton.btn-submit-side {
    width: 80px !important;
    max-width: 80px !important;
    min-width: 80px !important;
    height: 100px;
    min-height: 100px;
}

button.btn.btn-crear {
    margin: 0 auto;
}
td.btn-work {
    display: flex;
    justify-content: flex-end;
}
.ej-consultas {
    width: 90%;
    margin: 20px auto;
}

.ej-consultas h3 {
    font-size: 14px;
    text-align: center;
    padding-top: 20px;
    margin-top: 10px;
    border-top: solid 1px #ccc;
}

.ej-consultas ul {
    padding: 0 10px;
    font-size: 13px;
}
.ej-consultas ul li {
    margin-bottom: 12px;
    font-style: italic;
}
span.num-tare {
    position: absolute;
    margin-left: 50px;
    width: 15px;
    height: 15px;
    border-radius: 100%;
    background: red;
    padding: 10px 12px 10px 8px;
    line-height: 0px;
    border: solid 3px;
    text-align: center;
}
img.logo-header {
    height: 40px;
}
@media only screen and (min-width: 992px) {
        main.content {
          width: 1200px !important;
          margin: 100px auto;
      }
        .list {}
      
      main.content {
          width: 1200px;
          margin: 100px auto;
      }
      
      .list {
          flex-direction: column;
          align-items: center;
          width: 15%;
          padding: 15px;
      }
      
      section#pane-datos {
          display: flex;
          gap: 20px;
          flex-wrap: wrap;
      }
      
      section#pane-datos h2 {
          display: block !important;
          width: 100%;
      }
      
      .title {
          text-align: center !important;
      }
      
      .title {
          width: 100%;
      }
      section#pane-mant {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
    }
    
    section#pane-mant h2 {
        display: block !important;
        width: 100%;
    }
    
    section#pane-reportes {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
    }
    
    section#pane-reportes h2 {
        display: block !important;
        width: 100%;
    }
      .header-inner {
        width: 1200px;
        margin: 0 auto;
    }

}
