*[style*="overflow-x: auto"],
*[style*="overflow-x:auto"],
*[style*="overflow: auto"],
*[style*="overflow:auto"] {
    max-width: 100%;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(6px);
    display: flex;
    gap: 12px;
    scroll-behavior: smooth;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Scrollbar global */
::-webkit-scrollbar {
    height: 8px;
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #59d0ff;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #40b8e0;
}


.swal2-radio{
    display: flex !important;
    background-color: transparent !important;
    justify-content: space-around !important;
}
/* Botones SweetAlert2 personalizados */
.swal2-styled {
    background-color: #1e1e2f !important;
    color: white !important;
    border: 1px solid #3c3c5a !important;
    padding: 12px 16px;
    font-size: 16px;
    border-radius: 10px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
    transition: background-color 0.2s, transform 0.1s;
    width: calc(100% - 10px);

}

.swal2-styled i {
    font-size: 18px;
    min-width: 20px;
}

.swal2-styled:hover {
    background-color: #2c2c44 !important;
    transform: scale(1.02);
}

/* Estado seleccionado */
.columna-btn.selected {
    background-color: #3085d6 !important;
    color: white !important;
    border: 1px solid #1e60a0;
}

.swal2-styled.selected{
    background-color: #3085d6 !important;
    color: white !important;
    border: 1px solid #1e60a0;
}

.swal2-validation-message{
    background-color: transparent !important;
    color: white !important;
    font-size: 18px !important;
}
/* General para el popup */
.swal2-popup {
    background: rgba(20, 25, 30, 0.75); /* Fondo oscuro semi-transparente */
    color: #ffffff;                     /* Texto claro */
    border-radius: 16px;                /* Bordes redondeados */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);         /* Efecto frosted glass */
    font-family: 'Segoe UI', sans-serif;
}

/* Título */
.swal2-title {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}

/* Texto */
.swal2-html-container {
    color: #cccccc;
    font-size: 1rem;
    margin-top: 4px;
}

/* Input */
.swal2-input {
    background-color: #1e2733;
    color: #ffffff;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 10px;
    font-size: 1rem;
    width: calc(100% - 70px);
}

/* Botones */
.swal2-confirm,
.swal2-cancel {
    border-radius: 8px !important;
    font-weight: 600;
    padding: 8px 20px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    text-align: center;
}

.swal2-confirm {
    background-color: #59d0ff !important;
    color: #3c3c3c  !important;
}

.swal2-confirm:hover {
    background-color: #40b8e0 !important;
}

.swal2-cancel {
    background-color: #555 !important;
    color: #f0f0f0 !important;
}

.swal2-cancel:hover {
    background-color: #444 !important;
}

/* Ícono de error/info/etc */
.swal2-icon {
    border: none;
}

/* Alineación central para inputs personalizados */
.swal2-container .swal2-html-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

body{
    background-image: url('assets/images/3626052.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    font-family: 'Ubuntu', sans-serif;
    color: white;
}

.login{
    position: fixed;
    width: 370px;
    height: 450px;
    background: #1c1c1c;
    left: calc(50% - 185px);
    top: calc(50% - 225px);
    border-radius: 50px 5px;
    overflow: hidden;
    display:none;
}

/* Create animated gradient border effect */
.login::before,
.login::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 370px;
    height: 450px;
    background: linear-gradient(60deg, transparent, #429ABC, #429ABC);
    transform-origin: bottom right;
    animation: animate 6s linear infinite;
}

.login::after {
    background: linear-gradient(60deg, transparent, #429ABC, #429ABC);
    animation-delay: -3s;
}

/* Keyframes for gradient animation */
@keyframes animate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.innerLogin {
    position: absolute;
    inset: 2px;
    background: #27292D;
    border-radius: 50px 5px;
    z-index: 10;
    padding: 8px 30px;
    display: flex;
    flex-direction: column;
}

.innerLogin h1 {
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #d7f1ff;
    letter-spacing: 0.04em;
    text-shadow: 0 0 6px #59d0ff;
}

.innerLogin p {
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 8px;
    color: #cbd5e1;
}

.innerLogin p:last-child {
    font-weight: 600;
    font-size: 1.15rem;
    color: #a3cef1;
}
.innerLogin input[type="tel"] {
    width: 100%;
    padding: 12px 15px;
    margin-top: 15px;
    border: none;
    border-radius: 8px;
    background-color: #1f2227;
    color: #d7f1ff;
    font-size: 1.1rem;
    font-weight: 500;
    box-shadow: inset 0 0 5px #429ABC;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
    outline: none;
}

.innerLogin input[type="tel"]::placeholder {
    color: #7aaac7;
    opacity: 1;
}

.innerLogin input[type="tel"]:focus {
    background-color: #27292D;
    box-shadow: 0 0 10px #59d0ff;
    text-align: center;
}
.innerLogin button {
    margin-top: 25px;
    padding: 12px 0;
    width: 100%;
    background: linear-gradient(90deg, #429ABC, #59d0ff);
    border: none;
    border-radius: 8px;
    color: #e0f7ff;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 0 8px #59d0ff;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    user-select: none;
}

.innerLogin button:hover {
    background: linear-gradient(90deg, #59d0ff, #429ABC);
    box-shadow: 0 0 14px #a3cef1;
}
.innerLogin input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    margin-top: 15px;
    border: none;
    border-radius: 8px;
    background-color: #1f2227;
    color: #d7f1ff;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.5em;
    text-align: center;
    box-shadow: inset 0 0 5px #429ABC;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
    outline: none;
}

.innerLogin input[type="text"]::placeholder {
    color: #7aaac7;
    opacity: 1;
}

.innerLogin input[type="text"]:focus {
    background-color: #27292D;
    box-shadow: 0 0 10px #59d0ff;
}
.dashboard-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    font-family: 'Ubuntu', sans-serif;
    width: 90%;
    max-width: 900px;
}

.dashboard-hub h2 {
    margin-bottom: 30px;
    font-size: 2rem;
    text-shadow: 0 0 6px #59d0ff;
    user-select: none;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    justify-content: center;
}

.dashboard-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
    user-select: none;
}

.dashboard-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.1);
}

.dashboard-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.dashboard-card p {
    font-size: 0.95rem;
    color: #cbd5e1;
}

.dashboard-card.new {
    border: 2px dashed #59d0ff;
    color: #59d0ff;
    background: transparent;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 4px 15px;
}

.dashboard-header h1 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #59d0ff;
    text-shadow: 0 0 8px rgba(89,208,255,0.3);
    margin: 0;
}

.dashboard {
    position: fixed;
    inset: 0;
    background: rgba(15, 20, 25, 0.9);
    backdrop-filter: blur(8px);
    z-index: 78;
    display: none;
    overflow: auto;
    font-family: 'Ubuntu', sans-serif;
    color: white;
}

.dashboard-full {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.dashboard-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-bar h2 {
    font-size: 1.4rem;
    margin: 0;
    color: #59d0ff;
    font-weight: 500;
}

.close-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    user-select: none;
    transition: 0.2s;
    padding: 4px 8px;
    border-radius: 6px;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ff6b6b;
}

.dashboard-body {
    flex-grow: 1;
    padding: 10px;
    overflow-y: auto;
    font-size: 1rem;
    line-height: 1.5;
    padding-bottom: 100px;
}
.grid-stack-item-content {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    color: white;
    text-align: center;
    padding: 10px;
    font-weight: 500;
    box-shadow: 0 0 6px rgba(89,208,255,0.3);
    cursor: move;
    user-select: none;
    height: calc(100% - 41px);
}
#ai-panel {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 480px;
    max-width: 90%;
    z-index: 80;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
#ai-pensando{
    background: rgba(30, 30, 30, 0.6); /* Fondo oscuro semi-transparente */
    backdrop-filter: blur(10px);       /* Efecto acristalado */
    -webkit-backdrop-filter: blur(10px); /* Soporte Safari */
    border-radius: 15px;               /* Bordes redondeados */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Borde ligero */
    color: #ffffff;                    /* Texto blanco */
    padding: 8px;
    margin: 17px;
    font-style: italic;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
#ai-response{
    max-height: 600px;
    overflow-y: auto;
    margin: 8px;
    padding: 8px;
    margin-top: 30px;
}

#ai-response-container {
    background: rgba(20, 25, 30, 0.8);
    backdrop-filter: blur(8px);
    color: #e6f0ff;
    border-radius: 12px;
    font-size: 1rem;
    line-height: 1.6;
    box-shadow: 0 0 12px rgba(0,0,0,0.3);
    position: relative;
    display:none;
    transition: max-height 0.3s ease;    
}
#ai-menu-container {
    background: rgba(20, 25, 30, 0.8);
    backdrop-filter: blur(8px);
    color: #e6f0ff;
    border-radius: 12px;
    padding: 16px;
    font-size: 1rem;
    line-height: 1.6;
    box-shadow: 0 0 12px rgba(0,0,0,0.3);
    max-height: 600px;
    overflow-y: auto;
    position: relative;
    display:none;
    transition: max-height 0.3s ease;
}

#ai-response-container.minimized #ai-response{
    max-height: 100px;
}

#ai-query-box {
    display: flex;
    gap: 8px;
    background: rgba(30, 35, 40, 0.85);
    padding: 10px 14px;
    border-radius: 12px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 10px rgba(89,208,255,0.3);
}

#ai-query-box textarea {
    flex-grow: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1rem;
    outline: none;
    field-sizing: content;
}

#ai-query-box input::placeholder {
    color: #aaa;
}

#ai-query-box button {
    background: #59d0ff;
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
}

#ai-query-box button:hover {
    background: #40b8e0;
}

#ai-query-box .iconolat {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: none;
  border-radius: 50%;
  margin-right: 6px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 2px rgba(89, 208, 255, 0.4));
}
#ai-close-btn{
    position:absolute; 
    top:8px; 
    right:10px; 
    background:transparent; 
    color:white; border:none; 
    font-size:16px; 
    cursor:pointer;
}
#ai-minimize-btn{
    position:absolute; 
    top:8px; 
    right:30px; 
    background:transparent; 
    color:white; 
    border:none; 
    font-size:16px; 
    cursor:pointer;
}


.btn-info {
    background: linear-gradient(135deg, #3a9ec8, #317c9f);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 4px rgba(89, 208, 255, 0.2); /* Menos brillo */
    user-select: none;
    text-decoration: none;
}

.btn-info:hover {
    background: linear-gradient(135deg, #368fb2, #2b6c89);
    box-shadow: 0 0 6px rgba(89, 208, 255, 0.3); /* Menos intensidad */
    transform: translateY(-1px);
}

.btn-info:active {
    transform: scale(0.98);
    box-shadow: 0 0 3px rgba(89, 208, 255, 0.2);
}

.btn-info:disabled {
    background: #666;
    cursor: not-allowed;
    opacity: 0.5;
    box-shadow: none;
}
.btn-success {
    background: linear-gradient(135deg, #4caf50, #388e3c); /* Verde degradado */
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 4px rgba(76, 175, 80, 0.2); /* Sombra sutil verde */
    user-select: none;
    text-decoration: none;
}

.btn-success:hover {
    background: linear-gradient(135deg, #43a047, #2e7d32);
    box-shadow: 0 0 6px rgba(76, 175, 80, 0.3);
    transform: translateY(-1px);
}

.btn-success:active {
    transform: scale(0.98);
    box-shadow: 0 0 3px rgba(76, 175, 80, 0.2);
}

.btn-success:disabled {
    background: #666;
    cursor: not-allowed;
    opacity: 0.5;
    box-shadow: none;
}

#ai-response table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 6px rgba(89, 208, 255, 0.1);
    color: #e6f0ff;
}

#ai-response thead {
    background: rgba(89, 208, 255, 0.1);
    backdrop-filter: blur(4px);
    font-weight: bold;
}

#ai-response thead th {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#ai-response tbody td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#ai-response tbody tr:last-child td {
    border-bottom: none;
}

#ai-response tbody tr:hover {
    background-color: rgba(89, 208, 255, 0.05);
}

#dashboard-title{
    user-select:none;
    cursor: pointer;
}

.gear-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #555;
    padding: 4px 8px;
    transition: color 0.2s;
}
.gear-btn:hover {
    color: #000;
}

.swal2-toast {
  background: #1e293b !important; /* fondo oscuro azul grisáceo */
  color: #f1f5f9 !important;      /* texto claro */
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  font-weight: 500 !important;
  font-size: 1rem !important;
  padding: 10px 16px !important;
}

/* Ícono */
.swal2-icon {
  font-size: 22px !important;
}

/* Barra de progreso del timer */
.swal2-timer-progress-bar {
  background: #3b82f6 !important; /* azul vibrante */
}

/* Opcional: animación */
.swal2-show {
  animation: fadeInDown 0.3s ease forwards !important;
}


#ai-thinking{
    text-align: right;
    font-size: 12px;
    padding-right: 20px;
}

#ai-thinking::after {
    content: ".";
    animation: dots 2s steps(3, end) infinite;
    position: absolute;
    margin-left: 4px;
}

@keyframes dots {
    0%   { content: "."; }
    33%  { content: ".."; }
    66%  { content: "..."; }
    100% { content: "."; }
}

.ai-menu-content {
    background-color: #1c1f26;
    border-radius: 12px;
    padding: 16px;
    color: #e0e0e0;
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

.ai-menu-title {
    font-weight: 500;
    font-size: 15px;
    margin-bottom: 10px;
}

.ai-menu-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 12px;
}

.ai-menu-list li {
    margin-bottom: 6px;
}

.ai-menu-list code,
.ai-menu-examples code {
    background-color: #2a2f3a;
    color: #9fc3ff;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
}

.ai-menu-sub {
    font-weight: 500;
    margin-top: 10px;
    margin-bottom: 4px;
    font-size: 13px;
}

.ai-menu-examples div {
    margin-bottom: 6px;
}
.grid-stack-canvas{
    margin-top: 10px;
}

.grid-stack-title {
    white-space: nowrap;         /* No permitir saltos de línea */
    overflow: hidden;            /* Ocultar lo que se desborde */
    text-overflow: ellipsis;     /* Mostrar '...' al final */
    font-weight: bold;
    font-size: 1rem;
    background: transparent;
    border: none;
    color: #f3f3f3;
    font-size: 0.9rem;
    padding-bottom: 4px;
    transition: transform 0.2s, color 0.2s;
    margin-top: -7px;
    padding: 0px 10px;
}

.grid-stack-table-container{
    margin-top:16px;
}

.grid-stack-table-container input[type="search"] {
    color: white;
}
.grid-stack-table-container select{
    color: white;
}
.grid-stack-table-container select option {
    color: white;
    background-color: black;
}
.swal2-select option{
    color: white;
    background-color: black;
}

#toggle-edit-btn.modo-edicion {
  background-color: #3085d6;
}

.swal2-deny.swal2-styled{
    background-color: darkred !important;
    color: white !important;
    width: auto  !important;
    margin-left: auto !important;
}

.widget-numero-futurista {
    font-size: 3em;
    text-align: center;
    color: #f0f0f0;
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 1px #f0f0f0, 0 0 2px #f0f0f0;
    transition: all 0.3s ease-in-out;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.widget-menu {
    position: absolute;
    top: 28px;
    right: 15px;
    gap: 5px;
    z-index: 3;
    display:none;
}

.widget-menu button {
    background: rgba(10, 20, 40, 0.8);
    border: 1px solid #1e3a8a; /* azul oscuro */
    color: #1e90ff; /* azul claro vibrante */
    font-size: 14px;
    padding: 6px;
    border-radius: 8px;
    width:30px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.widget-menu button:hover {
    background: #1e3a8a; /* azul oscuro sólido */
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 0 6px #1e90ff, 0 0 10px #1e90ff;
}

.widget-menu2 {
    position: absolute;
    bottom: 28px;
    right: 15px;
    gap: 5px;
    z-index: 3;
    display:none;
}

.widget-menu2 button {
    background: rgba(10, 20, 40, 0.8);
    border: 1px solid #1e3a8a; /* azul oscuro */
    color: #1e90ff; /* azul claro vibrante */
    font-size: 14px;
    padding: 6px;
    border-radius: 8px;
    width:30px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.widget-menu2 button:hover {
    background: #1e3a8a; /* azul oscuro sólido */
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 0 6px #1e90ff, 0 0 10px #1e90ff;
}
.grid-stack-item:not(.editable):hover .widget-menu {
    display: grid;
    grid-template-columns: auto auto;
}
.grid-stack-item:hover .widget-menu2 {
    display: grid;
    grid-template-columns: auto auto;
}


.swal2-popup .dataTables_wrapper {
    width: calc(100% - 30px) !important;
}

.swal2-popup table.dataTable {
    width: calc(100% - 30px) !important;
    table-layout: auto;
}

.asistente-btn {
    background-color: #163172; /* azul oscuro */
    color: #a8d0ff;
    border: none;
    padding: 12px 20px;
    margin-right: 10px;
    margin-top: 10px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }
  .asistente-btn:hover {
    background-color: #114a8a;
  }
  
 .swal2-button-custom {
  background-color: #123456;      /* Un azul oscuro más suave */
  color: #66cccc;                 /* Verde agua más tenue */
  border: 2px solid #66cccc;
  padding: 12px 26px;
  font-weight: 600;
  border-radius: 24px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 140px;
  text-align: center;
  user-select: none;
  margin: 6px;
}
.swal2-button-custom:hover {
  background-color: #4a7a8c;     /* Azul grisáceo para hover */
  color: #a0d6d6;                /* Verde agua más claro */
}
.swal2-button-custom:focus {
  outline: none;
  box-shadow: 0 0 6px #66cccc88; /* sombra sutil y transparente */
}



.cargando{
    position: fixed;
    width: 120px;
    height: 120px;
    right: 10px;
    bottom: 10px;
    z-index: 79;
}

.anima{
    display:none;
    position: fixed;
    width: 100px;
    height: 100px;
    right: 0px;
    bottom: 0px;
    z-index: 81;
    cursor: pointer;
}

.anima img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  background: none;
  border-radius: 50%;
  margin-right: 6px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 2px rgba(89, 208, 255, 0.4));
}

.anima-work{
    display:none;
    position: fixed;
    width: 100px;
    height: 100px;
    right: 0px;
    bottom: 0px;
    z-index: 82;
    cursor: pointer;
}

.asistente-block{
    display:none;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 81;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    backdrop-filter: blur(4px);
    
}

.assistant-dialog {
  position: fixed;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: flex-end;
  z-index: 1000;
  font-family: 'Segoe UI', sans-serif;
}

.assistant-avatar {
  width: 100px;
  height: 100px;
  margin-right: 10px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #f0f0f0;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.assistant-bubble {
    display:none;
    background: #ffffff;
    border-radius: 20px;
    padding: 15px 20px;
    max-width: 280px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    position: fixed;
    z-index: 82;
    bottom: 34px;
    right: 106px;
}

.assistant-bubble::after {
  content: "";
  position: absolute;
  right: -10px; /* ← Cambiado de left a right */
  bottom: 20px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-left: 10px solid white; /* ← Cambiado de border-right a border-left */
  border-bottom: 10px solid transparent;
}

.assistant-text {
  font-size: 14px;
  color: #333;
  margin: 0 0 10px 0;
}

.assistant-input {
  display: flex;
  gap: 5px;
}

.assistant-input input {
  flex: 1;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.assistant-input button {
  background-color: #0078d7;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s;
}

.assistant-input button:hover {
  background-color: #005fa3;
}


.assistant-option-button {
  display: block;
  width: 100%;
  padding: 10px 16px;
  margin: 4px 0;
  font-size: 15px;
  font-weight: 500;
  color: #0a2747;
  background-color: #e7f0ff;
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
}

.assistant-option-button:hover {
  background-color: #d0e5ff;
  border-color: #0078d7;
}

.assistant-option-button:active {
  transform: scale(0.98);
}

.assistant-option-button.selected {
  background-color: #0078d7;
  color: #ffffff;
  border-color: #005fa3;
}


.assistant-path {
  font-size: 13px;
  color: #555;
  margin-bottom: 10px;
  font-style: italic;
}

.assistant-date-range {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.assistant-date-range label {
  font-size: 14px;
  color: #333;
}
    query{
        display: none;
    }
    
    #brandingLogo{
        /*display:none;*/
        opacity: 1;
    }
    
    .swal2-actions{
        display: grid !important;
        width: 100%;
        max-width: 310px;
        direction: rtl;
        grid-template-columns: 1fr 1fr;
        margin-top: 0px;
    }
    .swal2-title{
        margin-bottom: 0px;
    }
    
    .asist-close{
        cursor: pointer;
        text-align: right;
        padding: 4px;
    }
    
    
    #cookie-banner{
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #1e1e2f;
        color: #ffffff;
        padding: 20px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.4);
        z-index: 9999;
        font-family: sans-serif;
        display: none;
    }
    
    .widgetTiempo{
        text-align: right;
        font-size: 9px;
        position: absolute;
        bottom: 0px;
        right: 9px;
        display: inline-block;
        color: #ffffff60;
    }