/* Barra superior (propuesta A, estilo DodoCRM). Se carga despues del tema (dodo-production/development/staging),
   que sigue poniendo el color de fondo del ambiente; aqui solo estructura, formas y estados. */

/* ===== Escritorio (>= 1201px) ===== */
.navbar.navbar-fixed-top { min-height: 64px; height: 64px; margin: 0; border: 0; border-radius: 0; background-image: none; box-shadow: none; }
.navbar.navbar-fixed-top > .container { display: flex; align-items: center; height: 64px; width: 100%; max-width: none; margin: 0; padding: 0 32px; }
.navbar.navbar-fixed-top > .container::before,
.navbar.navbar-fixed-top > .container::after { display: none; }
.navbar.navbar-fixed-top .navbar-header { float: none; display: flex; align-items: center; margin: 0 8px 0 0; }
.navbar.navbar-fixed-top .navbar-brand { float: none; display: inline-flex; align-items: center; height: auto !important; margin: 0 16px 0 0 !important; padding: 0 !important; }
.navbar.navbar-fixed-top .navbar-brand img { float: none !important; height: 38px; margin: 0 !important; display: block; }
.navbar.navbar-fixed-top .navbar-collapse { display: flex !important; align-items: center; flex: 1; min-width: 0; height: 64px; padding: 0; border: 0; box-shadow: none; overflow: visible; }
.navbar.navbar-fixed-top .navbar-collapse > ul.nav { float: none; display: flex; align-items: center; gap: 4px; margin: 0; }
.navbar.navbar-fixed-top .navbar-nav > li { float: none; position: relative; }

/* Menus principales: pildoras */
.navbar.navbar-fixed-top .navbar-nav > li > a {
    display: inline-flex; align-items: center; gap: 6px; height: 40px !important; margin: 0;
    padding: 0 14px !important; border-radius: 999px; background: transparent;
    color: #fff; font-size: 15px; font-weight: 600; line-height: 1; opacity: .94;
}
.navbar.navbar-fixed-top .navbar-nav > li > a:hover,
.navbar.navbar-fixed-top .navbar-nav > li > a:focus { background: rgba(255,255,255,.14); color: #fff; opacity: 1; }
.navbar.navbar-fixed-top .navbar-nav > .open > a,
.navbar.navbar-fixed-top .navbar-nav > .open > a:hover,
.navbar.navbar-fixed-top .navbar-nav > .open > a:focus { background: rgba(255,255,255,.2); color: #fff; opacity: 1; }
.navbar.navbar-fixed-top .navbar-nav > li > a .caret { width: 14px; height: 14px; margin: 0; border: 0; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Desplegables: tarjeta blanca */
.navbar.navbar-fixed-top .dropdown-menu { margin-top: 8px; padding: 8px; border: 1px solid #DCE6EA; border-radius: 16px; background: #fff; box-shadow: 0 14px 34px rgba(16,36,58,.16); min-width: 250px; }
.navbar.navbar-fixed-top .dropdown-menu > li > a { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 14px; border-radius: 10px; color: #1C4E7F; font-size: 15px; white-space: nowrap; }
.navbar.navbar-fixed-top .dropdown-menu > li > a:hover,
.navbar.navbar-fixed-top .dropdown-menu > li > a:focus { background: #F4F7F8; color: #1C5A9E; }
.navbar.navbar-fixed-top .dropdown-menu > li > a .ddx-ico { flex: none; display: block; color: #1C5A9E; }
.navbar.navbar-fixed-top .dropdown-menu > li > a .glyphicon { top: 0; color: #1C5A9E; }
.navbar.navbar-fixed-top .dropdown-menu .divider { margin: 6px 8px; background: #EDF2F4; }
.navbar.navbar-fixed-top .dropdown-menu .dropdown-header { padding: 8px 14px 4px; }

/* Iconos de la derecha: botones redondos */
.navbar.navbar-fixed-top #ul_notificaciones { float: none; margin: 0 8px 0 auto !important; }
.navbar.navbar-fixed-top #ul_notificaciones > li { float: none; }
.navbar.navbar-fixed-top #ul_notificaciones table, .navbar.navbar-fixed-top #ul_notificaciones tbody { display: block; }
.navbar.navbar-fixed-top #ul_notificaciones tr { display: flex; align-items: center; gap: 2px; }
.navbar.navbar-fixed-top #ul_notificaciones td { display: block; position: relative; }
.navbar.navbar-fixed-top #ul_notificaciones td > a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; margin: 0 !important; border-radius: 999px; color: #fff; opacity: .94; }
.navbar.navbar-fixed-top #ul_notificaciones td > a:hover { background: rgba(255,255,255,.14); opacity: 1; }
.navbar.navbar-fixed-top #ul_notificaciones td > a .ddx-ico { display: block; }
.navbar.navbar-fixed-top #ul_notificaciones td > a img { margin: 0 !important; width: 22px; height: 22px; object-fit: contain; filter: brightness(0) invert(1); }
.navbar.navbar-fixed-top #ul_notificaciones .badge { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; margin: 0 !important; padding: 0 5px; border: 2px solid transparent; border-radius: 999px; background: #00BDC7 !important; color: #01223F !important; font-size: 11px; line-height: 14px; }

/* Usuario */
.navbar.navbar-fixed-top #logoutForm { float: none !important; margin: 0 0 0 4px; padding: 0; }
.navbar.navbar-fixed-top #logoutForm > ul.nav { float: none !important; margin: 0; }
.navbar.navbar-fixed-top #logoutForm > ul.nav > li > a { height: 44px !important; padding: 0 12px 0 5px !important; gap: 10px; background: rgba(255,255,255,.12); }
.navbar.navbar-fixed-top #logoutForm > ul.nav > li > a:hover,
.navbar.navbar-fixed-top #logoutForm > ul.nav > .open > a { background: rgba(255,255,255,.22); }
.navbar.navbar-fixed-top #logoutForm > ul.nav > li > a img { width: 34px; height: 34px; object-fit: cover; border-radius: 50%; background: #00BDC7; }
.navbar.navbar-fixed-top #logoutForm .dropdown-menu { right: 0; left: auto; }
/* Inicio de sesion (sin autenticar) */
.navbar.navbar-fixed-top .navbar-collapse > ul.navbar-right { margin-left: auto; float: none !important; }

/* Contenido de configuracion (columnas) */
.navbar.navbar-fixed-top .dropdown-menu.multi-column { min-width: 640px; }

/* ===== Movil / tablet (<= 1200px): menu colapsado ===== */
@media (max-width: 1200px) {
    .navbar.navbar-fixed-top { height: auto; min-height: 56px; max-height: 100vh; overflow-y: auto; overflow-x: hidden; }
    .navbar.navbar-fixed-top > .container { display: block; height: auto; padding: 0; width: 100%; }
    .navbar.navbar-fixed-top .navbar-header { display: flex; flex-direction: row-reverse; justify-content: space-between; align-items: center; width: 100%; height: 56px; margin: 0; padding: 0 16px; }
    .navbar.navbar-fixed-top .navbar-header::before, .navbar.navbar-fixed-top .navbar-header::after { display: none; content: none; }
    .navbar.navbar-fixed-top .navbar-brand { float: none; margin: 0 !important; padding: 0; height: 56px; display: flex; align-items: center; }
    .navbar.navbar-fixed-top .navbar-brand img { float: none !important; margin-top: 0 !important; }
    .navbar.navbar-fixed-top .navbar-brand img { height: 32px; }
    .navbar.navbar-fixed-top .navbar-toggle { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; float: none; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 12px; background: rgba(255,255,255,.14); }
    .navbar.navbar-fixed-top .navbar-toggle:hover, .navbar.navbar-fixed-top .navbar-toggle:focus { background: rgba(255,255,255,.24); }
    .navbar.navbar-fixed-top .navbar-toggle .icon-bar { display: block; width: 20px; height: 2px; margin: 0; border-radius: 2px; background: #fff; }
    .navbar.navbar-fixed-top .navbar-collapse { display: none !important; height: auto; padding: 8px 18px 16px; background: inherit; border-top: 1px solid rgba(255,255,255,.12); box-sizing: border-box; }
    .navbar.navbar-fixed-top .navbar-collapse.in { display: block !important; }
    /* Bootstrap limita el panel a 340px y muestra su propia barra; el desplazamiento solo debe aparecer si se agota el alto de la pantalla (lo maneja .navbar) */
    .navbar.navbar-fixed-top .navbar-collapse, .navbar.navbar-fixed-top .navbar-collapse.in { max-height: none !important; overflow: visible !important; }
    .navbar.navbar-fixed-top .navbar-collapse > ul.nav { display: block; }
    .navbar.navbar-fixed-top .navbar-nav, .navbar.navbar-fixed-top .navbar-collapse .navbar-nav { margin: 0 !important; }
    .navbar.navbar-fixed-top .navbar-nav > li > a { display: flex; width: 100%; height: 50px !important; padding: 0 6px !important; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 16px; }
    .navbar.navbar-fixed-top .navbar-nav > li > a .caret { margin-left: auto; }
    .navbar.navbar-fixed-top .navbar-collapse .navbar-nav > li { margin-left: 18px; margin-right: 18px; }
    /* sub menus dentro del panel */
    .navbar.navbar-fixed-top .navbar-nav .open .dropdown-menu { position: static; float: none; width: 100%; min-width: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: #fff; box-shadow: none; }
    .navbar.navbar-fixed-top .navbar-nav .open .dropdown-menu > li > a { min-height: 46px; padding: 0 18px 0 32px; border-radius: 0; }
    .navbar.navbar-fixed-top .dropdown-menu.multi-column { min-width: 0; }
    /* iconos en fila */
    .navbar.navbar-fixed-top #ul_notificaciones { margin: 0 !important; padding: 14px 18px 6px; display: block; }
    .navbar.navbar-fixed-top #ul_notificaciones tr { gap: 8px; }
    .navbar.navbar-fixed-top #ul_notificaciones td { flex: 1; }
    .navbar.navbar-fixed-top #ul_notificaciones td > a { width: 100%; height: 46px; border-radius: 12px; background: rgba(255,255,255,.12); }
    .navbar.navbar-fixed-top #logoutForm { margin: 8px 18px 10px; }
    .navbar.navbar-fixed-top #logoutForm .open > .dropdown-menu { position: static; float: none; width: 100%; min-width: 0; margin: 6px 0 0; padding: 6px; border: 0; border-radius: 14px; background: #fff; box-shadow: none; }
    .navbar.navbar-fixed-top #logoutForm .open > .dropdown-menu > li > a { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 14px; border-radius: 10px; background: none; color: #1C4E7F !important; font-size: 15px; }
    .navbar.navbar-fixed-top #logoutForm .open > .dropdown-menu > li > a:hover, .navbar.navbar-fixed-top #logoutForm .open > .dropdown-menu > li > a:focus { background: #F4F7F8; color: #1C5A9E !important; }
    .navbar.navbar-fixed-top #logoutForm .open > .dropdown-menu > li > a .ddx-ico { color: #1C5A9E; }
    .navbar.navbar-fixed-top #logoutForm .open > .dropdown-menu > li.divider { margin: 6px 4px; background: #EDF2F4; }
    .navbar.navbar-fixed-top #logoutForm > ul.nav > li > a { height: 52px !important; border: 0; border-radius: 14px; padding: 0 12px 0 8px !important; }
    .navbar.navbar-fixed-top .navbar-collapse > ul.navbar-right { margin: 0; }
}

/* Menu Configuracion (columnas) */
.navbar.navbar-fixed-top .multi-column-dropdown { margin: 0; padding: 0; list-style: none; }
.navbar.navbar-fixed-top .multi-column-dropdown > li > a,
.navbar.navbar-fixed-top .multi-column-dropdown > li > .disabled-link { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 4px 12px; border-radius: 10px; font-size: 14px; line-height: 1.25; white-space: normal; }
.navbar.navbar-fixed-top .multi-column-dropdown > li > .disabled-link { color: #9BAAB5; cursor: not-allowed; }
.navbar.navbar-fixed-top .multi-column-dropdown > li > a:hover,
.navbar.navbar-fixed-top .multi-column-dropdown > li > a:focus { background: #F4F7F8; color: #1C5A9E; text-decoration: none; }
.navbar.navbar-fixed-top .multi-column-dropdown > li > a .glyphicon,
.navbar.navbar-fixed-top .multi-column-dropdown > li > .disabled-link .glyphicon { flex: none; width: 18px; text-align: center; font-size: 14px; }
.navbar.navbar-fixed-top .multi-column-dropdown > li > a .glyphicon { color: #1C5A9E; }
.navbar.navbar-fixed-top .multi-column-dropdown .dropdown-header { padding: 10px 12px 4px; font: 700 12px 'Source Sans 3', sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #4E6779; }

/* Ventana Usuarios online */
#UsuariosOnline.k-window-content, .k-window #UsuariosOnline { padding: 0; }
.ddx-uo { padding: 14px 14px 16px; }
.ddx-uo-search { margin: 0 0 12px; }
.ddx-uo-search .k-textbox, .ddx-uo-search .k-maskedtextbox { width: 100% !important; max-width: none; }
.ddx-uo-search .k-textbox { height: 42px; padding: 0 14px 0 38px; border: 1px solid #DCE6EA; border-radius: 10px; box-shadow: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234E6779' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 13px center no-repeat; }
.ddx-uo-search .k-textbox:focus, .ddx-uo-search .k-state-focused { border-color: #00BDC7; box-shadow: 0 0 0 3px rgba(0,189,199,.25); }
.ddx-uo-list { margin: 0; }
.ddx-uo-head, .ddx-uo-head:hover, .ddx-uo-head:focus { display: flex; align-items: center; justify-content: space-between; margin: 0 0 8px; padding: 0 4px; background: transparent !important; border: 0 !important; color: #4E6779 !important; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.ddx-uo-ref { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid #DCE6EA; border-radius: 10px; background: #fff; color: #1C5A9E; cursor: pointer; float: none !important; }
.ddx-uo-ref:hover { border-color: #1C5A9E; background: #F4F7F8; }
.ddx-uo-item.list-group-item { margin: 0 0 6px; padding: 8px 10px; border: 1px solid #EDF2F4; border-radius: 12px !important; background: #fff; }
.ddx-uo-item.list-group-item:hover { border-color: #D5E3FA; background: #F4F7F8; }
.ddx-uo-yo.list-group-item { background: #EEF4FF; border-color: #D5E3FA; }
.ddx-uo-t { width: 100%; }
.ddx-uo-t td { vertical-align: middle; }
.ddx-uo-av { width: 46px; }
.ddx-uo-img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: #EEF4FF; display: block; }
.ddx-uo-n { font-size: 14px; font-weight: 600; color: #2F4B63; }
.ddx-uo-chat { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: #1C5A9E; }
.ddx-uo-chat .ddx-ico { color: #4E6779; }
.ddx-uo-chat:hover .ddx-ico { color: #1C5A9E; }
.ddx-uo-item .text-muted { font-size: 12.5px; color: #4E6779; }
.ddx-uo-x { width: 30px; text-align: right; }
.ddx-uo-close.close { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; border-radius: 8px; color: #4E6779; opacity: 1; text-shadow: none; float: none; }
.ddx-uo-close.close:hover { background: #FEF1F1; color: #B5484A; }
.ddx-uo-aviso { margin: 12px 14px 0; padding: 8px 12px; border-radius: 10px; }
.ddx-uo-ph { position: relative; display: block; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; background: #EEF4FF; }
.ddx-uo-ph .ddx-uo-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ddx-uo-ph.ddx-noimg .ddx-uo-img { display: none; }
.ddx-uo-ph.ddx-noimg::after { content: attr(data-ini); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: #EEF4FF; color: #1C5A9E; font: 800 13px 'Bricolage Grotesque', sans-serif; letter-spacing: .02em; }
.navbar.navbar-fixed-top .multi-column-dropdown > li > a .ddx-ico,
.navbar.navbar-fixed-top .multi-column-dropdown > li > .disabled-link .ddx-ico { flex: none; display: block; }
.navbar.navbar-fixed-top .multi-column-dropdown > li > a .ddx-ico { color: #1C5A9E; }
.navbar.navbar-fixed-top .multi-column-dropdown > li > .disabled-link .ddx-ico { color: #9BAAB5; }

/* Mensaje "Cargando..." del menu Configuracion (reemplaza al enlace mientras carga) */
.navbar.navbar-fixed-top #spinIcon-configurationMenu { display: flex; align-items: center; gap: 8px; height: 40px; margin: 0; padding: 0 14px; list-style: none; border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; font-size: 15px; font-weight: 600; line-height: 1; }
.navbar.navbar-fixed-top #spinIcon-configurationMenu > li { display: flex; align-items: center; margin: 0; padding: 0; }
.navbar.navbar-fixed-top #spinIcon-configurationMenu .ddx-spin-ico { display: block; animation: ddx-spin .8s linear infinite; }
@keyframes ddx-spin { to { transform: rotate(360deg); } }

/* Avatar del usuario en la barra: foto o iniciales */
.navbar.navbar-fixed-top .ddx-nb-av { position: relative; display: inline-block; flex: none; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; background: #00BDC7; }
.navbar.navbar-fixed-top .ddx-nb-av img, .navbar.navbar-fixed-top #logoutForm > ul.nav > li > a .ddx-nb-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.navbar.navbar-fixed-top .ddx-nb-av.ddx-noimg img { display: none; }
.navbar.navbar-fixed-top .ddx-nb-av.ddx-noimg::after { content: attr(data-ini); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: #00BDC7; color: #01223F; font: 800 13px 'Bricolage Grotesque', sans-serif; letter-spacing: .02em; }

/* Ventana Mis exportaciones de datos */
.ddx-ex { padding: 16px 20px 20px; }
.ddx-ex-row { display: flex; align-items: center; gap: 14px; margin: 0 0 10px; padding: 12px 14px; background: #fff; border: 1px solid #DCE6EA; border-radius: 14px; }
.ddx-ex-row:hover { border-color: #BCCBD3; background: #F4F7F8; }
.ddx-ex-tile { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: #E8F6EE; color: #1E7A4C; font: 800 12px 'Bricolage Grotesque', sans-serif; letter-spacing: .03em; }
.ddx-ex-tile.ddx-ex-err { background: #FEF1F1; color: #B03A3E; }
.ddx-ex-body { flex: 1; min-width: 0; }
.ddx-ex-title { font: 800 15px/1.25 'Bricolage Grotesque', sans-serif; color: #1C5A9E; overflow-wrap: anywhere; }
.ddx-ex-res { margin-top: 2px; font-size: 13.5px; color: #2F4B63; }
.ddx-ex-meta { display: flex; flex-wrap: wrap; gap: 2px 16px; margin-top: 4px; font-size: 12.5px; color: #4E6779; }
.ddx-ex-meta strong { font-weight: 600; }
.ddx-ex-dl { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: #10243A; color: #fff; text-decoration: none; }
.ddx-ex-dl:hover, .ddx-ex-dl:focus { background: #1C5A9E; color: #fff; }
.ddx-ex-vacio { display: flex; gap: 12px; margin: 0; padding: 12px 16px; border-radius: 12px; background: #EEF4FF; border: 1px solid #D5E3FA; color: #0B4A63; }
.ddx-ex-vacio p { margin: 0; }

/* Ventana Documentos proximos a vencer (campana) */
.ddx-dx .modal-content { border: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(16,36,58,.28); }
.ddx-dx .modal-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; background: #013C75; border: 0; color: #fff; }
.ddx-dx .modal-header .modal-title { font: 800 17px 'Bricolage Grotesque', sans-serif; color: #fff; }
.ddx-dx .modal-header .close { order: 2; margin: 0; color: #fff; opacity: .85; text-shadow: none; font-size: 24px; line-height: 1; }
.ddx-dx .modal-header .close:hover { opacity: 1; }
.ddx-dx .modal-body { padding: 18px 20px 6px; max-height: 60vh; overflow-y: auto; }
.ddx-dx .modal-footer { padding: 14px 20px; border-top: 1px solid #DCE6EA; }
.ddx-dx .modal-footer .btn { height: 42px; padding: 0 22px; font-weight: 700; }
.ddx-dx-intro { margin: 0 0 12px; color: #2F4B63; font-size: 14.5px; }
.ddx-dx-intro .text-muted { display: block; margin-top: 2px; font-size: 13px; }
.ddx-dx-list { margin: 0; padding: 0; list-style: none; }
.ddx-dx-row { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; padding: 10px 12px; background: #fff; border: 1px solid #DCE6EA; border-radius: 12px; }
.ddx-dx-row:hover { border-color: #BCCBD3; background: #F4F7F8; }
.ddx-dx-row > form { display: none; }
.ddx-dx-tile { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: #EEF4FF; color: #1C5A9E; }
.ddx-dx-name { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ddx-dx-name > a { font-weight: 700; color: #1C5A9E; overflow-wrap: anywhere; }
.ddx-dx-fecha { font-size: 12.5px; color: #4E6779; }
.ddx-dx-venc { flex: none; padding: 2px 10px; border-radius: 999px; background: #FEF1F1; color: #B03A3E !important; font-weight: 700; font-size: 12px; }
.ddx-dx-venc:empty { display: none; }
.ddx-dx-chk { flex: none; display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 6px 10px; border: 1px solid #DCE6EA; border-radius: 10px; background: #fff; font-size: 13px; font-weight: 600; color: #2F4B63; cursor: pointer; }
.ddx-dx-chk input { margin: 0; width: 16px; height: 16px; accent-color: #1C5A9E; }
.ddx-dx-chk:hover { border-color: #013C75; }
.ddx-dx-info { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid #DCE6EA; border-radius: 10px; color: #4E6779; background: #fff; }
.ddx-dx-info:hover { border-color: #013C75; color: #1C5A9E; }
.ddx-dx-vacio { background: #EEF4FF; border: 1px solid #D5E3FA; color: #0B4A63; border-radius: 12px; }
@media (max-width: 599px) { .ddx-dx-row { flex-wrap: wrap; } .ddx-dx-name { flex-basis: calc(100% - 60px); } }

/* Ventanas bootstrap de informacion y error (modales globales) */
#informationWindowModal .modal-content, #errorWindowModal .modal-content { border: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(16,36,58,.28); }
#informationWindowModal .modal-header, #errorWindowModal .modal-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; background: #013C75; border: 0; color: #fff; }
#informationWindowModal .modal-title, #errorWindowModal .modal-title { font: 800 17px 'Bricolage Grotesque', sans-serif; color: #fff; }
#informationWindowModal .modal-header .close, #errorWindowModal .modal-header .close { order: 2; margin: 0; color: #fff; opacity: .85; text-shadow: none; font-size: 24px; line-height: 1; }
#informationWindowModal .modal-body { padding: 20px; }
#errorWindowModal .modal-body { padding: 20px; background: #FEF1F1 !important; }
#informationWindowModal .modal-body p, #errorWindowModal .modal-body p { margin: 0; font-size: 15px; }
#informationWindowModal .modal-body .text-info { color: #2F4B63; }
#errorWindowModal .modal-body .text-danger { color: #B03A3E; }
#informationWindowModal .modal-body .glyphicon, #errorWindowModal .modal-body .glyphicon { display: none; }
#informationWindowModal .modal-footer, #errorWindowModal .modal-footer { padding: 14px 20px; border-top: 1px solid #DCE6EA; }
#informationWindowModal .modal-footer .btn, #errorWindowModal .modal-footer .btn { height: 42px; padding: 0 24px; font-weight: 700; background: #10243A; border-color: #10243A; color: #fff; }
#informationWindowModal .modal-footer .btn:hover, #errorWindowModal .modal-footer .btn:hover { background: #013C75; border-color: #013C75; }

/* ---------- Ventana Dodo SCAN (máquinas registradas) ---------- */
.ddx-scan .modal-body { max-height: 68vh; }
.ddx-scan .alert { margin: 0 0 14px; font-size: 15px; }
.ddx-scan .alert p { margin: 0; }
.ddx-scan-buscar { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; }
.ddx-scan-buscar .form-control { flex: 1; width: auto; max-width: none !important; height: 42px; padding: 0 14px; border: 1px solid #DCE6EA; border-radius: 10px; box-shadow: none; font-size: 15px; }
.ddx-scan-buscar .form-control:focus { border-color: #00BDC7; box-shadow: 0 0 0 3px rgba(0,189,199,.25); outline: none; }
.ddx-scan-buscar .btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 20px; border-radius: 10px; font-weight: 700; flex: none; }
.ddx-scan-card { margin: 0 0 14px; border: 1px solid #DCE6EA; border-radius: 16px; overflow: hidden; background: #fff; }
.ddx-scan-card .table { margin: 0; border: 0; }
.ddx-scan-card .table > thead > tr > th { padding: 12px 14px; background: #F4F7F8; border: 0; border-bottom: 1px solid #DCE6EA; font: 700 12px 'Source Sans 3', sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #4E6779; }
.ddx-scan-card .table > tbody > tr > td { padding: 12px 14px; border-top: 1px solid #EDF2F4; font-size: 15px; font-weight: 600; color: #2F4B63; vertical-align: middle; }
.ddx-scan-card .table > tbody > tr:hover > td { background: #F4F7F8; }
.ddx-scan-host { display: inline-block; padding: 4px 12px; border-radius: 999px; background: #EEF4FF; border: 1px solid #D5E3FA; color: #1C5A9E; font-weight: 700; }
.ddx-scan-act { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 1px solid #DCE6EA; color: #B03A3E; text-decoration: none; }
.ddx-scan-act:hover, .ddx-scan-act:focus { background: #FDECEE; border-color: #F3C5C9; color: #B03A3E; text-decoration: none; }
.ddx-scan .modal-footer .ddx-scan-del { display: inline-flex; align-items: center; gap: 8px; color: #B03A3E; border-color: #F3C5C9; background: #fff; }
.ddx-scan .modal-footer .ddx-scan-del:hover { background: #FDECEE; border-color: #F3C5C9; color: #B03A3E; }

/* Ventana de error usada como aviso informativo (ver utilities.js) */
#errorWindowModal.ddx-aviso .modal-body { background: #EEF4FF !important; }
#errorWindowModal.ddx-aviso .modal-body .text-danger { color: #1C5A9E; }
