:root{
    --main-color-vino:#950200;
    --main-color-verde:#7ab400;
    --main-color-azul:#241f4e;
}

#lbltitulo1{
    color: white;
}

#imgLogoSRC{
    text-align: center;
    margin-bottom: 0px;
}

#lblTituloEvento{
    margin-top: 15px;
}

#cntFormulario{
    margin-top: 0px;
}

#frmFormulario1{
    margin-top: 0px;
}

#btnRegistrar{
    text-align: center;
    margin-top: 30px;
}

#botones{
    text-align: center;
}

#lblEncabezado{
   font-size: 24px;
}

.login-container {
    background-color: #fff;
    padding-top: 36px;
    padding-right: 36px;
    padding-left: 36px;
    padding-bottom: 6px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    max-width: 400px;
    width: 96%;
    text-align:  center ;
     background-color: whitesmoke;
     justify-content: center;
     align-items: center;
     margin: 0 auto;
 
}
/* Responsive Design */
@media (max-width: 768px) {
    .login-container {
      max-width: 90%; /* Ajusta el tamaño para pantallas pequeñas */
    }
  }
  @media (max-width: 480px) {
    .login-container {
      padding: 15px; /* Reduce padding en pantallas muy pequeñas */
    }
  
    .login-container h2 {
      font-size: 18px; /* Reduce el tamaño de fuente del encabezado */
    }
  
    .login-container .boton {
      font-size: 14px; /* Ajusta el tamaño del botón */
    }
}    
.mesa-container {
   
    padding-top: 0px;
    padding-right: 20px;
    padding-left: 20px;
    padding-bottom: 6px;
    border-radius: 8px;
    max-width: 400px;
    width: 96%;
    text-align:  center ;
    
     justify-content: center;
     align-items: center;
     margin: 0 auto;
 
}

/* input[type="text"], input[type="password"] { */
.textBox{
    width: calc(99% - 12px);
    padding: 5px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 12px;
    box-sizing: border-box;
    font-size: 12px;
    text-align: center;
}
.textBox1{
    width: calc(99% - 12px);
    padding: 5px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 12px;
    box-sizing: border-box;
    font-size: 12px;
    text-align: left;
}

/* input[type="submit"] { */
.boton{
    margin-top: 5px;
    background-color: #950200;
    color: white;
    padding: 8px 0px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    width: 50%;
    font-size: 15px;
    text-align: center;
}

input[type="submit"]:hover {
    background-color: #7ab400;
}

.forgot-password {
    text-align: right;
    margin-top: 10px;
    font-size: 12px;
}

.topLogin {
    height: 33.6rem; 
    padding: 0%; 
}

/* Estilo para tablets y dispositivos más pequeños */
@media (max-width: 768px) {
    .topLogin {
        height: 46rem; /* Ajusta la altura para pantallas más pequeñas */
        padding: 5%; /* Agrega un poco de espacio si es necesario */
    }
}

/* Estilo para dispositivos móviles */
@media (max-width: 480px) {
    .topLogin {
        height: 38rem; /* Altura reducida para pantallas más pequeñas */
        padding: 10%; /* Espaciado extra si es necesario */
    }
}



#divTitulo{
    padding: 1rem !important ;
}

#divBarra{
    width: 1425;
    height: 10;
}

#logo{
    max-width: 15%;
}

hr{
    width: 92%;
    border: none; /* Quita el borde por defecto */
    height: 3px; /* Grosor de la línea */
    background-color: #7ab400; /* Color de la línea */
    margin: 0 auto; /* Margen superior e inferior */
  }

hr:hover{
    background-color: #950200;
}

.estiloBarra {
    font-family: "poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    min-height: 100vh;
    
}

    .barra{
    
        width: 200px;
        /* background-color: whitesmoke; */
        color: #fff;
        padding-top: 3.5%;
        display: flex;
        flex-direction: column;
        align-items: center;
        height: max-content;
       
    }
    
    .barra a {
        text-decoration: none;
        color: #fff;
        padding: 8px 15px;
        margin-bottom: 10px;
        width: 100%;
        text-align: center;
        border: 1px solid #241f4e;
        background-color: #241f4e;
        transition: background-color 0.3s ease;
        font-size: 15px;
        cursor: pointer;
        border-radius: 12px;

       
    }
    
    .barra a:hover {
        background-color: #383649;
    }
    
    .contenido {
        flex: 1;
        padding: 20px;
      text-align: center;
      width: auto;
    }
    
    .hidden {
        display: none;
    }

    #lblBox{
        background-color: white;
         border-radius: 2%;
    }

    .letra{
        margin-bottom: 0.5rem;
        font-family: "Noto Sans", Helvetica, Arial, sans-serif;
        font-weight: 700;
        line-height: 1.1;
        font-size: 15px;
        color: #241f4e;
    }

    @media (min-width: 992px) {
        .section-mesa {
            padding: 0px 0;
        }
    }

    #lblEncabezadoMesa{
        font-size: 14px;
     }

     .containerMesa {
        max-width: 800px;
        margin-left: 8rem;
        margin-right: 1rem;
        padding: 20px;
        padding-top: 0;
        padding-bottom: 10px;
        background-color: white;
        border: 0px solid #ccc;
        border-radius: 5px;
        /* box-shadow: 0 0 10px rgba(0,0,0,0.1); */
    }

    .rowMesa {
        display: flex;
        margin-top: 20px;
        gap: 20px;
    }
    .columnMesa {
        flex: 1;
        padding: 10px;
        background-color: white;
        border: 0px solid #ddd;
        border-radius: 6px;
    }
.containerPageLogin{
    display: grid;
    grid-template-rows: auto auto auto;
    min-height: 100vh;
}

/* -----------CARDS ESTADO SOLICITUD------------------- */

  .cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Solo dos columnas */
    gap: 30px;
    margin: 30px;
  }

  .card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
    padding: 15px;
    position: relative;
    transition: all 0.3s ease;
    font-size: 14px;
  }

  .card.active {
    border: 2px solid #0d6efd;
    background-color: #eef5ff;
  }

  .status-chip {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    color: white;
  }

  .nuevo { background-color: var(--main-color-azul) }
  .proceso { background-color: #fd7e14; }

  .card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    text-align: left;
  }

  .card p {
    margin: 4px 0;
    color: #555;
    text-align: left;
  }

  .avatar {
    display: flex;
    align-items: center;
    margin-top: 8px;
  }

  .avatar img {
    border-radius: 50%;
    width: 28px;
    height: 28px;
    margin-right: 8px;
    border: 1px solid #ccc;
  }

  .actions {
    margin-top: 12px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
  }

  .btn {
    padding: 5px 10px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 12px;
  }

  .btn-view {
    background-color: var(--main-color-vino);
    color: white;
  }

  .btn-update {
    background-color: var(--main-color-verde);
    color: white;
  }

    .btn-cancel {
    background-color: var(--main-color-vino);
    color: white;
  }
  .status-chip.cancelado {
  background-color: #999;
  color: white;
  }

  .extra-info {
    margin-top: 10px;
    padding: 8px;
    background: #f1f1f1;
    border-left: 4px solid var(--main-color-verde);
    display: none;
  }

  /* ---------HISTORIAL DE TICKETS  ---------*/
    .ticket-table {
      width: 100%;
      border-collapse: collapse;
      background-color: #fff;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
      margin: 15px;
    }

    .ticket-table th,
    .ticket-table td {
      padding: 12px 16px;
      text-align: left;
      border-bottom: 1px solid #eee;
    }

    .ticket-table th {
      background-color: #f5f5f5;
    }

    .expandable {
      cursor: pointer;
      transition: background-color 0.2s;
    }

    .expandable:hover {
      background-color: #f0f8ff;
    }

    .details-row {
      display: none;
      background-color: #fafafa;
    }

    .details-content {
      padding: 10px 16px;
      color: #555;
      font-size: 14px;
    }

    
    /* -----------------DASHBOARD DE METRICAS----------------- */

     .dashboard {
      max-width: 1200px;
      margin: 32px auto;
      padding: 20px;
    }

    .cards1 {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      justify-content: center;
      margin-bottom: 40px;
    }

    .card1 {
      flex: 1 1 calc(33.33% - 20px);
      max-width: calc(33.33% - 20px);
      background: #f5f5f5;
      padding: 2px 30px;
      border-radius: 20px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07);
      display: flex;
      align-items: center;
      transition: transform 0.3s ease;
    }

    .card1:hover {
      transform: translateY(-5px);
    }

    .card-content {
      display: flex;
      flex-direction: column;
    }

    .card-number {
      font-size: 2.5rem;
      font-weight: bold;
    }

    .card-label {
      font-size: 0.95rem;
      color: #666;
    }

    /* Colores por estado */
    .total { border-left: 5px solid #241f4e; }
    .pendientes { border-left: 5px solid #f39c12; }
    .resueltos { border-left: 5px solid #7ab400; }
    .urgentes { border-left: 5px solid #950200; }
    .alto { border-left: 5px solid #241f4e; }
    .medio { border-left: 5px solid #f39c12; }
    .bajo { border-left: 5px solid #7ab400; }

    /* Estadísticas abajo */
    .stats-section {
      margin-top: 40px;
    }

    .stats-section h3 {
      text-align: center;
      margin-bottom: 20px;
      font-size: 1.5rem;
    }

    .stats-list {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-around;
      gap: 20px;
    }

    .stat-item {
      background: #f9f9f9;
      border-left: 4px solid #3498db;
      border-radius: 10px;
      padding: 15px 20px;
      flex: 1 1 280px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }

    .stat-title {
      font-weight: bold;
      margin-bottom: 5px;
      color: #2c3e50;
    }

    .stat-desc {
      color: #666;
      font-size: 0.9rem;
    }

    @media (max-width: 768px) {
      .cards {
        flex-direction: column;
        align-items: center;
      }

      .stats-list {
        flex-direction: column;
        align-items: center;
      }
    }

    @media (max-width: 900px) {
  .card1 {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}

@media (max-width: 600px) {
  .card1 {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
/* INDICADORES DE CUMPLIMIENTO */

.indicadores-container {
  max-width: 1200px;
  margin: 50px auto;
  padding: 20px;
}

.indicadores-titulo {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
}

.indicadores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Fuerza 3 columnas */
  gap: 30px;
}

.indicadores-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.indicadores-card::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 80px;
  height: 80px;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 50%;
}

.indicadores-subtitulo {
  font-size: 1rem;
  margin-bottom: 8px;
}

.indicadores-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: white;
}
.indicadores-baja .indicadores-badge { background-color: var(--main-color-verde); }
.indicadores-media .indicadores-badge { background-color: var(--main-color-azul); }
.indicadores-alta .indicadores-badge { background-color: #fd7e14; }
.indicadores-critica .indicadores-badge { background-color: var(--main-color-vino); }

.indicadores-percent {
  font-size: 2rem;
  font-weight: 600;
  margin: 12px 0;
}

.indicadores-tiempo {
  font-size: 0.8rem;
  color: #7f8c8d;
  margin-bottom: 16px;
}

.indicadores-barra {
  height: 12px;
  background-color: #ecf0f1;
  border-radius: 6px;
  overflow: hidden;
}

.indicadores-llenado {
  height: 100%;
  border-radius: 6px;
}

.indicadores-baja .indicadores-llenado {
  background-color: var(--main-color-verde);
  width: 95%;
}

.indicadores-media .indicadores-llenado {
  background-color: var(--main-color-azul);
  width: 82%;
}

.indicadores-alta .indicadores-llenado {
  background-color: #fd7e14;
  width: 63%;
}
.indicadores-critica .indicadores-llenado {
  background-color: var(--main-color-vino);
  width: 63%;
}
