
body {
  font-family: 'Arial', sans-serif;
  color: #333;
  background-color: #f5f5f5;
  margin: 0;
  padding: 0;
}

.header {
  display: flex;
  align-items: center;
  padding: 20px;
  background-color: #4CAF50;
  color: white;
  height: 150px;
}

.header img {
  height: 150px;
  margin-right: 20px;
}
/*
.header-title {
  font-size: 32px;
  font-weight: bold;
}

.header-title { 
  font-size: 32px; 
  font-weight: bold; 
  color: #fff; 
  text-shadow: 1px 1px 0 #000, 2px 2px 0 #000, 3px 3px 0 #000, 4px 4px 0 #000, 5px 5px 0 #000;  }
*/

.header-title {
font-size: 32px;
font-weight: bold;
color: #ff6347; /* Cambia el color del texto a un color vibrante */
text-shadow:
    1px 1px 2px #000,
    0 0 25px #ff6347,
    0 0 5px #ff6347;
}

.topnav {
  overflow: hidden;
  background-color: #333;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav a.active {
  background-color: #4CAF50;
  color: white;
}

.topnav .icon {
  display: none;
}

.container {
  display: flex;
  padding: 20px;
}

/* Estilos para el panel izquierdo (l_panel) */
        .l_panel {
            padding: 20px;
            background-color: #f9f9f9; /* Un color de fondo suave para destacarlo */
            border-right: 1px solid #eee; /* Una línea divisoria sutil */
            box-shadow: 2px 0 5px rgba(0,0,0,0.05); /* Sombra ligera para profundidad */
            text-align: justify; /* Justificar el texto para mejor lectura */
        }
        .l_panel h2 {
            color: #2c3e50; /* Color oscuro para el título */
            margin-bottom: 15px;
            font-size: 1.8em;
            border-bottom: 2px solid #3498db; /* Línea debajo del título */
            padding-bottom: 10px;
        }
        .l_panel p {
            line-height: 1.6;
            margin-bottom: 10px;
            color: #555;
            font-size: 1.05em;
        }
        .l_panel ul {
            list-style: none; /* Quitar viñetas predeterminadas */
            padding-left: 0;
            margin-top: 20px;
        }
        .l_panel ul li {
            background: #eaf2f8; /* Fondo para cada item */
            margin-bottom: 8px;
            padding: 10px 15px;
            border-radius: 5px;
            display: flex;
            align-items: center;
            font-size: 1.0em;
            color: #333;
        }
        .l_panel ul li i {
            color: #3498db; /* Color del icono */
            margin-right: 10px;
            font-size: 1.2em;
        }
.accordion {
  width: 100%;
}

.accordion-item {
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.accordion-header {
  background-color: #f1f1f1;
  color: #444;
  cursor: pointer;
  padding: 10px;
  font-size: 16px;
  text-align: left;
  border: none;
  outline: none;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header:hover {
  background-color: #ddd;
}

.l_icon {
  font-size: 14px;
}

.accordion-content {

  display: none;

  padding: 0 10px;

  overflow: hidden;

  background-color: #f9f9f9;

  border-top: 1px solid #ddd;

}



.accordion-inner-button {

  background-color: #f9f9f9;

  color: #444;

  padding: 10px;

  text-align: left;

  border: none;

  width: 100%;

  text-decoration: none;

  display: block;

  font-size: 14px;

  cursor: pointer;

}


.accordion-inner-button:hover {

  background-color: #ddd;

}

.r_main-content {

  flex: 1;

  padding: 20px;

  background-color: #f4f4f4;
  /*-max-width: 1024px;*/
  width: max-content;


}

.fvcontainer {
  /*max-width: 1024px;*/
  width: 100%;
  margin: 30px auto;
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}




/* ESTILOS PARA FORM TABLE, QUE ES LA TABLA PRINCIPAL DE LISTAR ELEMENTOS */

.form-table {
  max-width: 100%;
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  table-layout: fixed;
  font-family: Arial, sans-serif; /* Cambia la fuente para mejor legibilidad */
}

.form-table th {
  background-color: #4CAF50; /* Color de fondo para el header */
  color: white; /* Texto blanco en el header */
  padding: 12px;
  text-align: center;
  font-weight: bold;
  border: 1px solid #ddd;
}

.form-table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left; /* Alineación a la izquierda para mejor legibilidad */
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  background-color: #f9f9f9; /* Fondo gris claro para el cuerpo de la tabla */
}

.form-table tr:nth-child(even) {
  background-color: #f2f2f2; /* Alternar el color de fondo de las filas */
}

.form-table th,
.form-table td {
  max-width: 150px; /* Controla el ancho máximo de las celdas */
  min-width: 100px; /* Evita que las celdas se encojan demasiado */
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.form-table input[type="text"],
.form-table input[type="number"] {
  width: 100%;
  box-sizing: border-box;
  border: none;
  background-color: transparent;
  text-align: center;
  padding: 8px;
}

.form-table select {
  color: #333;
  text-align: center;
  width: 100%;
}

.form-table a {
  color: #4CAF50; /* Color para los enlaces */
  text-decoration: none;
  font-weight: bold;
}

.form-table a:hover {
  text-decoration: underline;
}

.empty-state {
  text-align: center;
  padding: 40px 0;
  color: white;
}







/*CIERRA ESTILOS DE FORM TABLE PARA LISTAR ELEMENTOS*/
.btn-primary,
.btn-secondary {
  padding: 10px 20px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.btn-primary {
  background-color: #007bff;
  color: white;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: #0056b3;
}

.btn-secondary {
  background-color: #6c757d;
  color: white;
  margin-right: 10px;
}

.rpanel_actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.r_panel_header {

  display: flex;

  align-items: center;

  justify-content: space-between;

  margin-bottom: 20px;
  color: green;

}

.in_h1 {
  color: green;
}

.in_h2 {
  color: green;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 400;
}

.r_panel_header p {
  margin: 0;
  color: #6c757d;
}

.r_panel_header a {
  color: #007bff;
  text-decoration: none;

}

.r_panel_header a:hover {
  text-decoration: underline;
}

.fv_header-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.company-logo img {
  max-width: 200px;
  height: auto;
}

.img_logo {
  width: 150px;
  height: 60px;
  border-style: outset;
  border-width: 5px;
  border-radius: 8px;
}

/*
Abre estilos para tabla de bienvenida
*/


.video-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-container img {
  width: 100px;
  height: auto;
}

.video-title {
  margin-top: 5px;
  background-color: #f2f2f2;
  padding: 5px;
  width: 100%;
  text-align: center;
}

.video-title a {
  text-decoration: none;
  color: #000;
}
/*
.c_container {
  display: flex;
  justify-content: space-between;
  padding: 20px;
}
*/
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 70%;
}

.video-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 5px;
  background-color: #f9f9f9;
}

.video-container img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.video-title {
  margin-top: 10px;
  background-color: #f2f2f2;
  padding: 5px;
  width: 100%;
  text-align: center;
  border-radius: 5px;
}

.video-title a {
  text-decoration: none;
  color: #000;
}








* {
  box-sizing: border-box;
}



.chatbot-container {
  width: 300px;
  border: 1px solid #ddd;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  margin-left: 30px;
}

.chatbot-header {
  background-color: green;
  color: #fff;
  padding: 10px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  text-align: center;
}

.chatbot-header h2 {
  color: #fff;
  margin: 0;
}

.chatbot-messages {
  flex-grow: 1;
  padding: 10px;
  overflow-y: auto;
  border-bottom: 1px solid #ddd;
  max-height: 300px; /* Fija la altura máxima del contenedor de mensajes */
}

.message {
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 5px;
}

.bot-message {
  background-color: #e9ecef;
}

.chatbot-input {
  display: flex;
  padding: 10px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.chatbot-input input {
  flex-grow: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-right: 10px;
}

.chatbot-input button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background-color: #007bff;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
}

.chatbot-input button:hover {
  background-color: #0056b3;
}




/*

* {
  box-sizing: border-box;
}

.chatbot-container {
  width: 25%;
  border: 1px solid #ddd;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  background-color: #fff;
}

.chatbot-header {
  background-color: green;
  color: #fff;
  padding: 10px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  text-align: center;
}

.chatbot-header h2 {
  color: #fff;
  margin: 0;
}

.chatbot-messages {
  flex-grow: 1;
  padding: 10px;
  overflow-y: auto;
  border-bottom: 1px solid #ddd;
}

.message {
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 5px;
}

.bot-message {
  background-color: #e9ecef;
}

.chatbot-input {
  display: flex;
  align-items: center;
  padding: 10px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.chatbot-input input {
  flex-grow: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-right: 10px;
}

.chatbot-input button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background-color: #007bff;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
}

.chatbot-input button:hover {
  background-color: #0056b3;
}
*/










/*
Abre estilos para los formularios de create
*/

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: #555;
  font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 16px;
  color: #555;
}

/*
Cierra estilos para los formularios de create
*/



.c_container {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  /*max-width: 1024px;*/
  width: 100%;
  background-color: #f8f4f4;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  color: #474545;
}

.c_form-title {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
  font-size: 24px;
}

.c_form-button {
  display: inline-block;
  font-weight: 600;
  font-size: 16px;
  background-color: #474545;
  color: white;
  padding: 10px 20px;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s;
  border-radius: 8px;
  text-decoration: none;
}

.c_form-button:hover {
  background-color: #7e7777;
}


.breadcrumb {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  background: none;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    padding: 0 8px;
    color: #6c757d;
}

.breadcrumb-item a {
    text-decoration: none;
    color: #007bff;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #6c757d;
}

#backButton {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  color: #fff;
  background-color: #007bff;
  border: none;
  cursor: pointer;
}

#backButton:hover {
  background-color: #0056b3;
}



.qrcode-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px auto;
  padding: 20px;
  background-color: #fff;
  border: 2px solid #ccc;
  width: fit-content;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}