/*
Theme Name: Umetric Child
Theme URI: https://wordpress.iqonic.design/umetric/
Author: the iQonic team
Author URI: https://iqonic.design/
Template:   umetric
Description: umetric brings your site to life with header video and immersive featured images. With a focus on business sites, it features multiple sections on the front page as well as widgets, navigation and social menus, a logo, and more. Personalize its asymmetrical grid with a custom color scheme and showcase your multimedia content with post formats. Our default theme for 2017 works great in many languages, for any abilities, and on any device.
Version: 1.4.3
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: umetric-child
Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* Estilo de tarjetas */
.dashboard-card {
    width: 180px;
    height: 180px;
    background-color: #1e1e1e;
    border-radius: 12px;
    padding: 20px;
    margin: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 255, 255, 0.15);
}

.dashboard-card:hover {
    transform: scale(1.05);
}

.dashboard-card .card-value {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}

.dashboard-card .card-label {
    font-size: 16px;
    opacity: 0.85;
}

/*********************************************************/
/* 🔹 CONTENEDOR DE LA TABLA DINAMICA PARA LAS TARJETAS */
/*******************************************************/
/* 🔹 CONTENEDOR DE LA TABLA */
#tabla-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
    background-color: #1c1c1c;
    border-radius: 16px;
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.15);
    transition: all 0.3s ease;
    animation: fadeInTabla 0.6s ease;
}

@keyframes fadeInTabla {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

#tabla-container:hover {
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.25);
}

/* 🔹 ESTILO GENERAL DEL WRAPPER */
#tabla-container .dataTables_wrapper {
    display: block !important;
    width: 100% !important;
    color: white;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 🔹 CABECERA DE LA TABLA */
table.dataTable thead th {
    background: linear-gradient(to right, #003366, #004c99);
    color: #ffffff;
    font-weight: bold;
    text-align: left;
    font-size: 12px !important;
    padding: 8px !important;
}

/* 🔹 CUERPO DE LA TABLA */
table.dataTable tbody td {
    border-bottom: 1px solid #ccc;
    padding: 10px 8px;
    vertical-align: top;
    color: #000;
}

table.dataTable tbody tr:nth-child(odd) {
    background-color: #f7fafd;
}
table.dataTable tbody tr:nth-child(even) {
    background-color: #eef4f7;
}
table.dataTable tbody tr:hover {
    background-color: #d2f1ff !important;
    cursor: pointer;
    box-shadow: inset 0 0 5px rgba(0,255,255,0.2);
}

table.dataTable td {
    border-right: 1px solid #ddd;
}

table.dataTable td:last-child {
    border-right: none;
}

td:has(span.badge-status) {
    padding: 6px 10px;
}
.badge-status {
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    background-color: #28a745;
    display: inline-block;
}

.badge-status.ACTIVE {
    background-color: #28a745;
}
.badge-status.OPEN {
    background-color: #28a745;
}
.badge-status.Open {
    background-color: #28a745;
}

.badge-status.INACTIVE {
    background-color: #ff9800;
}
.badge-status.DISMISSED {
    background-color: #ff9800;
}
.badge-status.Unknown {
    background-color: #ff9800;
}
.badge-status.InProgress {
    background-color: #ff9800;
}
.badge-status.Assigned {
    background-color: #1b07f1;
}

.badge-status.CLOSED {
    background-color: #f44336;
}
.badge-status.CLOSE {
    background-color: #f44336;
}
.badge-status.Resolved {
    background-color: #f44336;
}
.badge-status.RESOLVE {
    background-color: #f44336;
}
.badge-status.Pending {
    background-color: #f44336;
}

/* 🔹 CAMPOS DE BÚSQUEDA Y SELECT ALINEADOS Y COMPACTOS */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 10px 5px 10px !important;
    margin: 0 !important;
    width: 100% !important;
    gap: 5px;
}

.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_filter label {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin: 0 !important;
    width: 100% !important;
}

.dataTables_filter input,
.dataTables_length select {
    background-color: #1a1a1a;
    color: white;
    border: 1px solid #555;
    padding: 4px 6px;
    border-radius: 6px;
    font-size: 13px;
    width: 100%;
    max-width: 200px;
}

/* 🔹 TABLA */
#tablaDatos {
    border-radius: 14px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 10px 30px rgba(0,255,255,0.15);
    font-family: 'Nunito Sans', sans-serif;
    font-size: 14px;
    letter-spacing: 0.2px;
}

#tablaDatosPrincipal {
    border-radius: 14px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 10px 30px rgba(0,255,255,0.15);
    font-family: 'Nunito Sans', sans-serif;
    font-size: 12px;
    letter-spacing: 0.2px;
}

/* Oculta los controles "Mostrar registros" y "Buscar" de tablaDatosPrincipal */
#tablaDatosPrincipal_wrapper .dataTables_length,
#tablaDatosPrincipal_wrapper .dataTables_filter {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 🔹 ESTILOS DE LA TABLA */
.dataTables_wrapper table {
    width: 100% !important;
    border-collapse: collapse;
    color: #000;
    background-color: #fff;
}

/* 🔧 Elimina bordes invisibles o redondeados en el wrapper */
#tablaDatos_wrapper {
    border-radius: 0 !important;
    background: none !important;
}

/* 🔹 BOTONES DE PAGINACIÓN */
.dataTables_wrapper .dataTables_paginate {
    text-align: center;
    padding: 10px 0;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    background-color: #1a1a1a;
    color: white !important;
    border: 1px solid #444;
    border-radius: 6px;
    padding: 6px 12px;
    margin: 0 4px;
    font-size: 13px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background-color: #00ffff;
    color: #000 !important;
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
    transform: translateY(-1px);
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background-color: #00ffff !important;
    color: #000 !important;
    font-weight: bold;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
}

/* 🔧 Oculta los recuadros vacíos si no tienen contenido visible */
.dataTables_length:empty,
.dataTables_filter:empty {
    display: none !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 🔹 TEXTO DE INFO Y BOTONES */
.dataTables_wrapper .dataTables_info {
    color: #ccc;
    font-size: 13px;
    padding: 10px;
    text-align: center;
}

/* 🔥 OCULTAR "Mostrar registros" y "Buscar" */
#tablaDatos_wrapper .dataTables_length,
#tablaDatos_wrapper .dataTables_filter {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 🔥 OCULTAR "Mostrar registros" y "Buscar" para tablaDatosPrincipal */
#tablaDatosPrincipal_wrapper .dataTables_length,
#tablaDatosPrincipal_wrapper .dataTables_filter {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 🔹 Columna de 20px */
td.columna-20 {
  max-width: 20px !important;
  min-width: 20px !important;
  white-space: normal !important;
  word-break: break-word;
}

/* 🔹 Columna de 40px */
td.columna-40 {
  max-width: 40px !important;
  min-width: 40px !important;
  white-space: normal !important;
  word-break: break-word;
}

/* 🔹 Columna de 60px */
td.columna-60 {
  max-width: 60px !important;
  min-width: 60px !important;
  white-space: normal !important;
  word-break: break-word;
}

/* 🔹 Columna de 100px */
td.columna-100 {
  max-width: 100px !important;
  min-width: 100px !important;
  white-space: normal !important;
  word-break: break-word;
}

/* 🔹 Columna de 200px */
td.columna-200 {
  max-width: 200px !important;
  min-width: 200px !important;
  white-space: normal !important;
  word-break: break-word;
}

/* 🔹 Columna de 400px */
td.columna-400 {
  max-width: 400px !important;
  min-width: 400px !important;
  white-space: normal !important;
  word-break: break-word;
}

/* 🔹 Columna ancha (800px) */
td.columna-ancha {
  max-width: 800px !important;
  min-width: 800px !important;
  white-space: normal !important;
  word-break: break-word;
}

/* 🔹 Texto envuelto por defecto */
td.text-wrap {
  white-space: normal !important;
  word-break: break-word;
}

/*********************************************************/
/* ESTILOS PARA EL HEADER             *******************/
/*******************************************************/

.bricksin-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eee;
  z-index: 999;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.bricksin-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bricksin-logo img {
  height: 100px;
}

.bricksin-nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.bricksin-nav li {
  margin-left: 25px;
}

.bricksin-nav a {
  text-decoration: none;
  font-weight: 600;
  color: #283979;
  transition: color 0.3s;
}

.bricksin-nav a:hover {
  color: #ff7e00;
}

.login-button {
  background: #283979;
  color: #fff !important;
  padding: 6px 14px;
  border-radius: 4px;
}

/*********************************************************/
/* ESTILOS PARA EL FOOTER             *******************/
/*******************************************************/

.bricksin-footer {
  background-color: #001c74;
  color: #fff;
  padding: 60px 20px 20px;
  font-size: 14px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-left {
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.footer-logo {
  height: 70px;
  width: auto;
  margin-bottom: 15px;
  margin-top: 0;
  align-self: flex-start;
}

.footer-description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #ccc;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-social i {
  font-size: 18px;
  color: #fff;
  transition: color 0.3s;
}

.footer-social i:hover {
  color: #ff7e00;
}

.footer-column h4 {
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
  color: #ccc;
}

.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
}

.footer-column ul li a:hover {
  color: #ff7e00;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 20px;
  font-size: 13px;
  color: #aaa;
}

.footer-cta {
  background: #f8f8f8;
  padding: 50px 20px 30px;
  box-shadow: 0 -1px 5px rgba(0,0,0,0.05);
}

/*********************************************************/
/* BOTONES CTA PARA CONTACT US                          */
/*******************************************************/

.cta-section {
  background: linear-gradient(145deg, #e8ecf4, #f0f2f7);
  padding: 60px 20px;
  border-radius: 20px;
  box-shadow:
    0 12px 20px rgba(0, 0, 0, 0.08),
    0 8px 40px rgba(0, 0, 0, 0.06),
    0 2px 4px rgba(0, 0, 0, 0.05);
  margin: 60px auto;
  max-width: 1200px;
}

.cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 30px;
}

.cta-text h2 {
  font-size: 32px;
  font-weight: 800;
  color: #001c74;
  margin-bottom: 10px;
}

.cta-text p {
  font-size: 16px;
  color: #555;
  margin: 0;
  max-width: 700px;
}

.cta-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.iq-button {
  display: inline-block;
  background-color: #0047FF;
  color: #fff;
  padding: 14px 30px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.3s ease;
  overflow: hidden;
}

.iq-button-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.iq-btn-line {
  display: flex;
  gap: 4px;
  margin-left: 10px;
  align-items: center;
}

.iq-btn-line .line {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.iq-btn-line span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  transition: transform 0.3s ease;
}

/* Colores individuales */
.iq-btn-line-1 { background-color: #00e0ff; }
.iq-btn-line-2 { background-color: #00d1a0; }
.iq-btn-line-3 { background-color: #ff9900; }

/* Animación en hover */
.iq-button:hover .line-1 { transform: translateY(-4px); }
.iq-button:hover .line-2 { transform: translateY(0); }
.iq-button:hover .line-3 { transform: translateY(4px); }

/* FIN BOTON CONTACT US */


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

/* Modal content */
.modal-content {
  background: #fff;
  padding: 30px 40px;
  border-radius: 10px;
  text-align: center;
  width: 90%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.modal-content h2 {
  margin-bottom: 20px;
  color: #001c74;
}

.modal-content input {
  display: block;
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.modal-content button {
  background-color: #283979;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

.modal-content button:hover {
  background-color: #1a2b6d;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 22px;
  cursor: pointer;
}

.error-msg {
  color: red;
  font-size: 14px;
  margin-top: 10px;
}

.tooltip {
  position: absolute;
  background: #001c74;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  pointer-events: none;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.map-wrapper svg {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

canvas {
  display: block;
  width: 100% !important;
  height: 500px !important;
  max-height: 100%;
}

/* Estilo de tarjetas */
.dashboard-card {
    width: 180px;
    height: 180px;
    background-color: #1e1e1e;
    border-radius: 12px;
    padding: 20px;
    margin: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 255, 255, 0.15);
}

.dashboard-card:hover {
    transform: scale(1.05);
}

.dashboard-card .card-value {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}

.dashboard-card .card-label {
    font-size: 16px;
    opacity: 0.85;
}





/* 🔹 CAMPOS DE BÚSQUEDA Y SELECT ALINEADOS Y COMPACTOS */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 10px 5px 10px !important;
    margin: 0 !important;
    width: 100% !important;
    gap: 5px;
}

.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_filter label {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin: 0 !important;
    width: 100% !important;
}

.dataTables_filter input,
.dataTables_length select {
    background-color: #1a1a1a;
    color: white;
    border: 1px solid #555;
    padding: 4px 6px;
    border-radius: 6px;
    font-size: 13px;
    width: 100%;
    max-width: 200px;
}

/* 🔧 Elimina bordes invisibles o redondeados en el wrapper */
#tablaDatos_wrapper {
    border-radius: 0 !important;
    background: none !important;
}

/* 🔹 BOTONES DE PAGINACIÓN */
.dataTables_wrapper .dataTables_paginate {
    text-align: center;
    padding: 10px 0;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    background-color: #1a1a1a;
    color: white !important;
    border: 1px solid #444;
    border-radius: 6px;
    padding: 6px 12px;
    margin: 0 4px;
    font-size: 13px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background-color: #00ffff;
    color: #000 !important;
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
    transform: translateY(-1px);
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background-color: #00ffff !important;
    color: #000 !important;
    font-weight: bold;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
}

/* 🔧 Oculta los recuadros vacíos si no tienen contenido visible */
.dataTables_length:empty,
.dataTables_filter:empty {
    display: none !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 🔹 TEXTO DE INFO Y BOTONES */
.dataTables_wrapper .dataTables_info {
    color: #ccc;
    font-size: 13px;
    padding: 10px;
    text-align: center;
}

/* 🔹 Columna de 20px */
td.columna-20 {
  max-width: 20px !important;
  min-width: 20px !important;
  white-space: normal !important;
  word-break: break-word;
}

/* 🔹 Columna de 40px */
td.columna-40 {
  max-width: 40px !important;
  min-width: 40px !important;
  white-space: normal !important;
  word-break: break-word;
}

/* 🔹 Columna de 60px */
td.columna-60 {
  max-width: 60px !important;
  min-width: 60px !important;
  white-space: normal !important;
  word-break: break-word;
}

/* 🔹 Columna de 100px */
td.columna-100 {
  max-width: 100px !important;
  min-width: 100px !important;
  white-space: normal !important;
  word-break: break-word;
}

/* 🔹 Columna de 200px */
td.columna-200 {
  max-width: 200px !important;
  min-width: 200px !important;
  white-space: normal !important;
  word-break: break-word;
}

/* 🔹 Columna ancha (800px) */
td.columna-ancha {
  max-width: 800px !important;
  min-width: 800px !important;
  white-space: normal !important;
  word-break: break-word;
}

/* 🔹 Texto envuelto por defecto */
td.text-wrap {
  white-space: normal !important;
  word-break: break-word;
}

.bricksin-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eee;
  z-index: 999;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.bricksin-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

 /* BOTONES CTA PARA CONTACT US */
.cta-section {
  background: linear-gradient(145deg, #e8ecf4, #f0f2f7);
  padding: 60px 20px;
  border-radius: 20px;
  box-shadow:
    0 12px 20px rgba(0, 0, 0, 0.08),
    0 8px 40px rgba(0, 0, 0, 0.06),
    0 2px 4px rgba(0, 0, 0, 0.05);
  margin: 60px auto;
  max-width: 1200px;
}

.cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 30px;
}

.cta-text h2 {
  font-size: 32px;
  font-weight: 800;
  color: #001c74;
  margin-bottom: 10px;
}

.cta-text p {
  font-size: 16px;
  color: #555;
  margin: 0;
  max-width: 700px;
}

.cta-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.iq-button {
  display: inline-block;
  background-color: #0047FF;
  color: #fff;
  padding: 14px 30px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.3s ease;
  overflow: hidden;
}

.iq-button-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.iq-btn-line {
  display: flex;
  gap: 4px;
  margin-left: 10px;
  align-items: center;
}

.iq-btn-line .line {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.iq-btn-line span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  transition: transform 0.3s ease;
}

/* Colores individuales */
.iq-btn-line-1 { background-color: #00e0ff; }
.iq-btn-line-2 { background-color: #00d1a0; }
.iq-btn-line-3 { background-color: #ff9900; }

/* Animación en hover */
.iq-button:hover .line-1 { transform: translateY(-4px); }
.iq-button:hover .line-2 { transform: translateY(0); }
.iq-button:hover .line-3 { transform: translateY(4px); }

/* FIN BOTON CONTACT US */


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

/* Modal content */
.modal-content {
  background: #fff;
  padding: 30px 40px;
  border-radius: 10px;
  text-align: center;
  width: 90%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.modal-content h2 {
  margin-bottom: 20px;
  color: #001c74;
}

.modal-content input {
  display: block;
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.modal-content button {
  background-color: #283979;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

.modal-content button:hover {
  background-color: #1a2b6d;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 22px;
  cursor: pointer;
}

.error-msg {
  color: red;
  font-size: 14px;
  margin-top: 10px;
}

.tooltip {
  position: absolute;
  background: #001c74;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  pointer-events: none;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.map-wrapper svg {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

canvas {
  display: block;
  width: 100% !important;
  height: 500px !important;
  max-height: 100%;
}

/* ESTILOS PARA BUSCADOR PROPERTY OWNER */
/* CONTENEDOR DEL FORMULARIO */
.buscador-inmueble-container {
  max-width: 1400px !important;
  width: 100% !important;
  background-color: #1c1e27;
  padding: 30px;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
  font-family: 'Nunito Sans', sans-serif;
  color: #ffffff;
}

.buscador-inmueble-container .botones-buscador {
  width: 100%;
  box-sizing: border-box;
}

/* INPUTS Y SELECTS */
.formulario-buscador input,
.formulario-buscador select {
  width: 100%;
  background-color: #2a2d38;
  color: #fff;
  border: 1px solid #444;
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 16px;
  margin-bottom: 15px;
  box-sizing: border-box;
}

.formulario-buscador input::placeholder,
.formulario-buscador select:invalid {
  color: #888 !important;
}

/* BOTÓN DE BÚSQUEDA */
.botones-buscador {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.botones-buscador button {
  flex: 1 1 48%;  /* se ajustan automáticamente y caben lado a lado */
  padding: 12px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  min-width: 140px;
}

/* Botón Search */
#buscar-btn {
  background-color: #007bff;
  color: white;
}

#buscar-btn:hover {
  background-color: #0056b3;
}

/* Botón Clear */
#limpiar-btn {
  background-color: #555;
  color: white;
}

#limpiar-btn:hover {
  background-color: #777;
}

/* Versión responsive */
@media (max-width: 600px) {
  .botones-buscador {
    flex-direction: column;
  }
}

/* RESULTADO CONSULTA PROPERTY OWNER */
#result-container {
  max-width: 750px;
  margin: 30px auto;
}

#result-container .search-result {
  background-color: #1a1d27;
  color: #fff;
  padding: 25px;
  border-radius: 12px;
  border-left: 5px solid #1877f2;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
  font-family: 'Nunito Sans', sans-serif;
}

#result-container .search-result h3 {
  font-size: 22px;
  margin-bottom: 18px;
}

#result-container .search-result div {
  line-height: 1.6;
  font-size: 15px;
}

/* ESTILOS PARA BUSQUEDA PROPERTY OWNERS CON ADUs

/* 🔲 Contenedor del resultado */
.resultado-adu-card {
  background: #1a1d27;
  color: #ffffff;
  padding: 25px 30px;
  border-radius: 12px;
  margin-top: 30px;
  border-left: 5px solid #16d19f;
  font-family: 'Nunito Sans', sans-serif;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

/* 🔖 Título */
.resultado-adu-card h3 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 22px;
}

/* ✅ Badge ADU */
.badge-adu {
  padding: 6px 16px;
  border-radius: 20px;
  display: inline-block;
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 18px;
  color: white;
}
.badge-adu-yes {
  background-color: #16d19f;
}
.badge-adu-no {
  background-color: #f87171;
}

/* 📦 Grid de propiedades */
.propiedad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 15px;
  margin-top: 15px;
}
.propiedad-grid div {
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 14.5px;
  line-height: 1.4em;
}
.propiedad-grid strong {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
  color: #60a5fa;
}

/* 🌐 Íconos */
.resultado-adu-card img.link-icon {
  height: 22px;
  vertical-align: middle;
  margin-left: 8px;
  transition: transform 0.2s ease;
}
.resultado-adu-card a:hover img.link-icon {
  transform: scale(1.15);
}

.basement-desc-box {
  background-color: #2a2d38;
  color: #9ddfff;
  padding: 15px;
  margin: 15px 0;
  border-left: 5px solid #16d19f;
  font-style: italic;
  border-radius: 8px;
}

.government-owned-desc-box {
  background-color: #2a2d38;
  color: #ffffff;
  padding: 15px;
  margin: 15px 0;
  border-left: 5px solid #f70404;
  font-style: italic;
  border-radius: 8px;
}

/* 📱 Responsive */
@media (max-width: 600px) {
  .resultado-adu-card {
    padding: 20px;
  }
  .propiedad-grid {
    grid-template-columns: 1fr;
  }
}

/* Estilos del Menu lateral izquierdo del Dashboard */
.nyccellar-sidebar {
  width: 250px;
  background: linear-gradient(to bottom, #0f172a, #111827);
  box-shadow:
    0 0 10px rgba(0, 255, 255, 0.1),
    4px 0 20px rgba(0, 255, 255, 0.2),
    inset 0 0 5px rgba(255, 255, 255, 0.02);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  overflow-y: auto;
  padding: 0px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  font-family: 'Segoe UI', sans-serif;
  z-index: 1000;
}

/* Estilo para scrollbar en navegadores modernos (Chrome, Edge, Safari) */
.nyccellar-sidebar::-webkit-scrollbar {
  width: 4px;
}

.nyccellar-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.nyccellar-sidebar::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

/* Firefox */
.nyccellar-sidebar {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.sidebar-logo {
  background: #0f172a;
  padding: 20px 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 210px;
  margin-left: auto;
  margin-right: auto;

  /* 💡 Efecto hundido fuerte */
  box-shadow:
    inset 4px 4px 8px rgba(0, 0, 0, 0.6),
    inset -4px -4px 8px rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(255, 255, 255, 0.02);
}

.sidebar-logo img {
  width: 100%;
  max-width: 180px;
  margin-bottom: 0px;
  height: auto;
}

.sidebar-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-menu ul li {
  margin-bottom: 6px;
  font-size: 16px;
}

.sidebar-menu ul li a {
  color: #ffffff;
  text-decoration: none;
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  transition: all 0.25s ease-in-out;
}

.sidebar-menu ul li a:hover {
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: 2px 2px 8px rgba(0, 255, 255, 0.2);
  transform: translateX(4px);
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #374151;
}

.sidebar-footer a {
  color: #f87171;
  text-decoration: none;
  font-weight: bold;
}

/* Estilos para ocultar botones menu Dashboard cuando ingresa VentasADU */
  body.user-ventasadu #menu-dashboard,
  body.user-ventasadu #menu-managers,
  body.user-ventasadu #menu-investors,
  body.user-ventasadu #menu-construction,
  body.user-ventasadu #menu-legal,
  body.user-ventasadu #menu-agents,
  body.user-ventasadu #menu-insights {
    display: none !important;
}

/* Ocultar los elementos de la pagina admin-dashboard al inicio */
body.loading-dashboard {
  visibility: hidden;
}
body.ready-dashboard {
  visibility: visible;
}

body.user-ventasadu .hide-if-ventasadu {
  display: none !important;
}

.hpd-section .icon-container img {
  box-shadow: 0 0 5px rgba(51, 70, 211, 0.5);
  transition: transform 0.2s ease-in-out;
}
.hpd-section .icon-container img:hover {
  transform: scale(1.05);
}

.violations-grid {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.violation-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px;
  border-radius: 10px;
  width: 60px;
  text-align: center;
  background-color: #1e293b;
}

.violation-item img {
  width: 28px !important;
  height: 28px !important;
  object-fit: contain;
  display: block;
}

.violation-item small {
  font-size: 9px;
  color: white;
  margin-top: 4px;
  line-height: 1.1;
}

/* Colores por tipo */
.violation-item.complaints { background-color: #3346d3; }
.violation-item.dob        { background-color: #f94f58; }
.violation-item.ecb        { background-color: #f9904e; }
.violation-item.hpd        { background-color: #00d2ff; }

/* REDUCIR TAMAÑO DEL LOGO EN EL HEADER */
.bricksin-logo img {
  max-width: 200px;
  height: auto;
}

/* ESTILOS DE LISTA DE SELECCION QUE SE MUESTRA EN ADU CHECKER AL BUSCAR POR ADDRESS*/
/* --- Estilos para la Tabla de Resultados Múltiples --- */

/* Título sobre la tabla */
.adu-description-box h3 {
    text-align: center;
    color: #1e293b; /* Color de texto oscuro para que sea visible */
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Contenedor con scroll */
.adu-results-scroll-container {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.adu-results-table {
    width: 100%;
    border-collapse: collapse;
}

/* Celdas de encabezado (th) y datos (td) */
.adu-results-table th,
.adu-results-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

/* --- CORRECCIÓN CLAVE DE ESTILOS AQUÍ --- */
.adu-results-table thead th {
    background-color: #f1f5f9; /* Fondo gris muy claro */
    color: #475569;           /* Texto gris oscuro para el encabezado */
    font-weight: bold;
    position: sticky;          /* Encabezado fijo al hacer scroll */
    top: 0;
    z-index: 10;
}

/* Fila de datos al pasar el cursor (hover) */
.disambiguation-row:hover {
    background-color: #e0f2fe; /* Fondo azul claro */
    color: #0c4a6e;            /* Texto azul oscuro para el hover */
}