@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root,
.nb-theme-cosmic,
.nb-theme-dark,
.nb-theme-default,
.nb-theme-corporate {
  --font-family-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-family-secondary: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --text-basic-color: #ececec;
  --text-alternate-color: #ffffff;
  --text-hint-color: #9a9a9e;
  --text-disabled-color: #6f6f74;
  --background-basic-color-1: #303032;
  --background-basic-color-2: #28282a;
  --background-basic-color-3: #262626;
  --background-basic-color-4: #1c1c1d;
  --border-basic-color-1: rgba(255, 255, 255, 0.1);
  --border-basic-color-2: rgba(255, 255, 255, 0.1);
  --border-basic-color-3: rgba(255, 255, 255, 0.12);
  --border-basic-color-4: rgba(255, 255, 255, 0.14);
  --border-basic-color-5: rgba(255, 255, 255, 0.16);
  --color-primary-default: #2d6be0;
  --color-primary-hover: #3b78eb;
  --color-primary-active: #2459bd;
  --color-primary-focus: #2d6be0;
  --color-success-default: #34c759;
  --color-warning-default: #f7931e;
  --color-danger-default: #ff5a4f;
  --color-info-default: #4b4b4e;
  --card-background-color: #303032;
  --card-border-color: rgba(255, 255, 255, 0.1);
  --card-border-width: 1px;
  --card-border-radius: 12px;
  --card-shadow: none;
  --card-text-color: #ececec;
  --card-header-text-color: #ffffff;
  --header-background-color: #28282a;
  --header-text-color: #ececec;
  --header-shadow: none;
  --sidebar-background-color: #28282a;
  --sidebar-text-color: #9a9a9e;
  --sidebar-shadow: none;
  --menu-background-color: #28282a;
  --menu-text-color: #9a9a9e;
  --menu-item-hover-background-color: rgba(255, 255, 255, 0.07);
  --menu-item-hover-text-color: #ececec;
  --menu-item-active-background-color: #3d3d40;
  --menu-item-active-text-color: #ffffff;
  --menu-item-icon-color: #9a9a9e;
  --menu-item-icon-active-color: #ffffff;
  --menu-item-icon-hover-color: #ececec;
  --menu-item-divider-color: rgba(255, 255, 255, 0.08);
  --input-basic-background-color: #1c1c1d;
  --input-basic-border-color: rgba(255, 255, 255, 0.12);
  --input-basic-text-color: #ececec;
  --input-basic-placeholder-text-color: #84848a;
  --input-basic-focus-border-color: #2d6be0;
  --select-outline-basic-background-color: #1c1c1d;
  --select-outline-basic-border-color: rgba(255, 255, 255, 0.12);
  --select-outline-basic-text-color: #ececec;
  --smart-table-bg: #303032;
  --smart-table-bg-even: #2c2c2e;
  --smart-table-bg-active: #3d3d40;
  --smart-table-border-color: rgba(255, 255, 255, 0.1);
  --smart-table-header-bg: #2a2a2c;
  --smart-table-header-fg: #ececec;
  --smart-table-fg: #ececec;
  --layout-background-color: #262626;
  --footer-background-color: #28282a;
  --footer-text-color: #9a9a9e;
  --footer-shadow: none;
  color-scheme: dark;
}

html,
body,
html *,
html *::before,
html *::after,
body *,
body *::before,
body *::after,
.font-po,
.nb-theme-default,
.nb-theme-dark,
.nb-theme-cosmic,
.nb-theme-corporate,
.nb-theme-default *,
.nb-theme-dark *,
.nb-theme-cosmic *,
.nb-theme-corporate * {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

.dp-inline-svg {
  width: 15px;
  height: 15px;
  display: inline-block;
  vertical-align: -2px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
}

ngx-header nb-icon,
nb-layout-header nb-icon,
ngx-header nb-icon svg,
nb-layout-header nb-icon svg {
  color: #d4d4d8 !important;
  fill: currentColor !important;
}

nb-menu .menu-item a nb-icon,
nb-menu .menu-item a nb-icon svg {
  color: inherit !important;
  fill: currentColor !important;
}

html,
body,
.nb-theme-cosmic nb-layout .layout,
.nb-theme-dark nb-layout .layout,
.nb-theme-default nb-layout .layout,
.nb-theme-corporate nb-layout .layout {
  background-color: #262626 !important;
  background-image: none !important;
  color: #ececec !important;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-rendering: optimizeLegibility !important;
}

.nb-theme-cosmic h1, .nb-theme-cosmic h2, .nb-theme-cosmic h3, .nb-theme-cosmic h4, .nb-theme-cosmic h5, .nb-theme-cosmic h6,
.nb-theme-dark h1, .nb-theme-dark h2, .nb-theme-dark h3, .nb-theme-dark h4, .nb-theme-dark h5, .nb-theme-dark h6,
.nb-theme-default h1, .nb-theme-default h2, .nb-theme-default h3, .nb-theme-default h4, .nb-theme-default h5, .nb-theme-default h6,
.nb-theme-corporate h1, .nb-theme-corporate h2, .nb-theme-corporate h3, .nb-theme-corporate h4, .nb-theme-corporate h5, .nb-theme-corporate h6 {
  color: #ffffff !important;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

.nb-theme-cosmic p,
.nb-theme-dark p,
.nb-theme-default p,
.nb-theme-corporate p {
  color: #d4d4d8 !important;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

.nb-theme-cosmic nb-layout-header nav,
.nb-theme-dark nb-layout-header nav,
.nb-theme-default nb-layout-header nav,
.nb-theme-corporate nb-layout-header nav {
  background: #28282a !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
  color: #ececec !important;
}

.nb-theme-cosmic nb-sidebar,
.nb-theme-dark nb-sidebar,
.nb-theme-default nb-sidebar,
.nb-theme-corporate nb-sidebar,
.nb-theme-cosmic nb-sidebar .main-container,
.nb-theme-dark nb-sidebar .main-container,
.nb-theme-default nb-sidebar .main-container,
.nb-theme-corporate nb-sidebar .main-container {
  background: #28282a !important;
  border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
}

nb-menu .menu-item a {
  border-radius: 9px !important;
  margin: 2px 8px !important;
  color: #9a9a9e !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  border: 0 !important;
  box-shadow: none !important;
  transition: background 0.15s ease, color 0.15s ease !important;
}

nb-menu .menu-item a:hover {
  background: rgba(255, 255, 255, 0.07) !important;
  color: #ececec !important;
}

nb-menu .menu-item a.active {
  background: #3d3d40 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

nb-menu .menu-item .menu-icon {
  color: inherit !important;
}

/* Header logo DP PANEL PRO y ocultar selector de tema redundante */
ngx-header .logo-container img[alt="Logointerno"] {
  display: none !important;
}

ngx-header .header-container > .d-flex.align-items-center {
  display: none !important;
}

.dp-header-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.4px;
  color: #ffffff;
  white-space: nowrap;
}

.dp-header-brand img {
  height: 28px;
  width: auto;
  display: block;
  object-fit: contain;
}

.dp-header-brand em {
  font-style: normal;
  color: #f7931e;
}

/* Tarjetas, tablas y modales sin tonos morados/azules */
nb-card,
nb-dialog-container nb-card,
nb-window nb-card,
.card {
  background: #303032 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  color: #ececec !important;
}

nb-card-header,
nb-card-footer,
.card-header,
.card-footer {
  background: #2a2a2c !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}

ng2-smart-table table,
.table {
  background: #303032 !important;
  color: #ececec !important;
}

ng2-smart-table thead tr th,
.table thead th {
  background: #2a2a2c !important;
  color: #ececec !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

ng2-smart-table tbody tr td,
.table td {
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #ececec !important;
}

ng2-smart-table tbody tr:nth-child(even) {
  background: #2c2c2e !important;
}

ng2-smart-table tbody tr:hover {
  background: #363639 !important;
}

/* Tipografía nítida Montserrat Bold/Regular en listas de apps y tablas */
html body table.table-theme-text th,
html body table.table th {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  color: #ececec !important;
  padding: 14px 16px !important;
  vertical-align: middle !important;
}

html body table.table-theme-text td,
html body table.table td {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 14px !important;
  padding: 14px 16px !important;
  vertical-align: middle !important;
}

html body ngx-usuarios-index table.table-theme-text tbody tr > th:first-child,
html body ngx-usuarios-index table.table-theme-text tbody tr > td:nth-child(2) {
  color: #9a9a9e !important;
  font-weight: 500 !important;
  font-size: 13px !important;
}

html body ngx-usuarios-index table.table-theme-text tbody tr > td:nth-child(3) {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-weight: 700 !important;
  font-size: 14.5px !important;
  color: #ffffff !important;
  letter-spacing: -0.01em !important;
  line-height: 1.3 !important;
}

html body ngx-usuarios-index table.table-theme-text tbody tr > td:nth-child(4) {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-weight: 400 !important;
  font-size: 12px !important;
  color: #9a9a9e !important;
  line-height: 1.3 !important;
}

html body ngx-usuarios-index table.table-theme-text tbody tr > td:nth-child(5) {
  font-weight: 500 !important;
  font-size: 13px !important;
  color: #b4b4b8 !important;
}

html body ngx-usuarios-index table.table-theme-text tbody tr > td [nbButton] {
  margin: 2px 4px !important;
}

html body table.dataTable tbody tr > td:first-child,
html body ngx-multiradio-index table tbody tr > td:nth-child(2),
html body ngx-multitv-index table tbody tr > td:nth-child(2) {
  font-weight: 700 !important;
  color: #ffffff !important;
  font-size: 14px !important;
  letter-spacing: -0.01em !important;
}

nb-card-header h4,
nb-card-header h5,
.card-header h4 {
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  color: #ffffff !important;
}

/* Inputs, selects y textareas oscuros */
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea,
.form-control,
[nbInput],
ng2-smart-table input {
  background: #1c1c1d !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #ececec !important;
  box-shadow: none !important;
  border-radius: 7px !important;
}

nb-select button.select-button {
  background: #1c1c1d !important;
  border: 0 !important;
  color: #ececec !important;
  box-shadow: none !important;
  border-radius: 7px !important;
}

input:not([type="checkbox"]):not([type="radio"]):focus,
select:focus,
textarea:focus,
.form-control:focus,
[nbInput]:focus {
  border-color: #2d6be0 !important;
  box-shadow: none !important;
}

/* Botones planos: CERO sombras y CERO trazos/bordes en TODOS los estados */
html body button,
html body button:hover,
html body button:focus,
html body button:focus-visible,
html body button:active,
html body button.active,
html body button:disabled,
html body .btn,
html body .btn:hover,
html body .btn:focus,
html body .btn:active,
html body a.btn,
html body input[type="button"],
html body input[type="submit"],
html body input[type="reset"],
html body [nbButton],
html body [nbButton]:hover,
html body [nbButton]:focus,
html body [nbButton]:focus-visible,
html body [nbButton]:active,
html body a[nbButton],
html body button[nbButton],
html body [nbButton].appearance-filled,
html body [nbButton].appearance-outline,
html body [nbButton].appearance-hero,
html body [nbButton].appearance-ghost,
.nb-theme-cosmic [nbButton],
.nb-theme-dark [nbButton],
.nb-theme-default [nbButton],
.nb-theme-corporate [nbButton],
html body .dt-button,
html body button.dt-button,
html body a.dt-button,
html body div.dt-buttons button,
html body .dt-button:hover,
html body .dt-button:focus,
html body .dataTables_wrapper .dataTables_paginate .paginate_button,
html body .dataTables_wrapper .dataTables_paginate .paginate_button:hover,
html body .dataTables_wrapper .dataTables_paginate .paginate_button.current,
html body .page-link,
html body ng2-smart-table th.ng2-smart-actions-title-add a,
html body ng2-smart-table .ng2-smart-actions a.ng2-smart-action,
html body .prog,
html body .btn-edit,
html body .btn-delete,
html body .swal2-styled,
html body .swal2-styled:focus {
  border: 0 !important;
  border-width: 0 !important;
  border-style: none !important;
  outline: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  background-image: none !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
}

html body [nbButton][status="primary"],
html body [nbButton][status="primary"].appearance-outline,
html body [nbButton][status="primary"].appearance-hero,
html body .btn-primary,
html body .btn-outline-primary,
html body .appearance-filled.status-primary,
html body .swal2-confirm,
html body .dataTables_wrapper .dataTables_paginate .paginate_button.current,
html body .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
html body ng2-smart-table th.ng2-smart-actions-title-add a {
  background-color: #2d6be0 !important;
  color: #ffffff !important;
}

html body [nbButton][status="primary"]:hover,
html body [nbButton][status="primary"]:focus,
html body .btn-primary:hover,
html body .btn-outline-primary:hover,
html body .swal2-confirm:hover,
html body ng2-smart-table th.ng2-smart-actions-title-add a:hover {
  background-color: #3b78eb !important;
  color: #ffffff !important;
}

html body [nbButton][status="basic"],
html body [nbButton][status="info"],
html body [nbButton][status="basic"].appearance-outline,
html body [nbButton][status="info"].appearance-outline,
html body .btn-secondary,
html body .btn-info,
html body .btn-light,
html body .btn-outline-secondary,
html body .btn-outline-info,
html body .dt-button,
html body div.dt-buttons button,
html body .dataTables_wrapper .dataTables_paginate .paginate_button,
html body .page-link,
html body .swal2-cancel {
  background-color: #3d3d40 !important;
  color: #ececec !important;
}

html body [nbButton][status="basic"]:hover,
html body [nbButton][status="info"]:hover,
html body .btn-secondary:hover,
html body .btn-info:hover,
html body .dt-button:hover,
html body div.dt-buttons button:hover,
html body .dataTables_wrapper .dataTables_paginate .paginate_button:hover:not(.disabled),
html body .page-link:hover,
html body .swal2-cancel:hover {
  background-color: #4b4b4e !important;
  color: #ffffff !important;
}

html body [nbButton][status="success"],
html body [nbButton][status="success"].appearance-outline,
html body .btn-success,
html body .btn-outline-success {
  background-color: #34c759 !important;
  color: #ffffff !important;
}

html body [nbButton][status="success"]:hover,
html body .btn-success:hover,
html body .btn-outline-success:hover {
  background-color: #42d667 !important;
  color: #ffffff !important;
}

html body [nbButton][status="warning"],
html body [nbButton][status="warning"].appearance-outline,
html body .btn-warning,
html body .btn-outline-warning,
html body .prog.btn-edit,
html body .btn-edit {
  background-color: #f7931e !important;
  color: #1c1c1d !important;
}

html body [nbButton][status="warning"]:hover,
html body .btn-warning:hover,
html body .prog.btn-edit:hover,
html body .btn-edit:hover {
  background-color: #ffa336 !important;
  color: #1c1c1d !important;
}

html body [nbButton][status="danger"],
html body [nbButton][status="danger"].appearance-outline,
html body .btn-danger,
html body .btn-outline-danger,
html body .prog.btn-delete,
html body .btn-delete {
  background-color: rgba(255, 90, 79, 0.22) !important;
  color: #ff6b61 !important;
}

html body [nbButton][status="danger"]:hover,
html body .btn-danger:hover,
html body .prog.btn-delete:hover,
html body .btn-delete:hover {
  background-color: rgba(255, 90, 79, 0.34) !important;
  color: #ff8980 !important;
}

html body .prog.btn-edit,
html body .prog.btn-delete {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 12px !important;
  font-size: 12px !important;
  cursor: pointer !important;
  margin: 2px 3px !important;
}

html body .dt-button,
html body div.dt-buttons button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 7px 13px !important;
  font-size: 12.5px !important;
  margin-right: 6px !important;
}

html body [nbButton].appearance-ghost,
html body .dp-toggle-pass-btn,
html body ngx-header a.sidebar-toggle {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* ============================================================
   LOGIN SPLIT-SCREEN DP PANEL PRO (adaptado sobre ngx-login)
   ============================================================ */
ngx-login nb-layout .layout,
ngx-login nb-layout .layout-container,
ngx-login nb-layout .content,
ngx-login nb-layout .columns {
  padding: 0 !important;
  margin: 0 !important;
  background: #070b14 !important;
}

ngx-login nb-layout-column.my-login-page {
  display: flex !important;
  flex-direction: row !important;
  min-height: 100vh !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #070b14 !important;
}

ngx-login .backgroundLogin,
ngx-login .brand,
ngx-login .card-title,
ngx-login .footer {
  display: none !important;
}

.dp-login-hero {
  flex: 1.25;
  position: relative;
  background-color: #070b14;
  background-image:
    linear-gradient(135deg, rgba(7, 11, 20, 0.88) 0%, rgba(13, 21, 40, 0.72) 45%, rgba(7, 11, 20, 0.94) 100%),
    url('../img/datacenter_bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3.5rem 4rem;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.dp-hero-header {
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
}

.dp-hero-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.dp-hero-brand-text {
  display: flex;
  flex-direction: column;
}

.dp-hero-brand-title {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.1;
}

.dp-hero-brand-badge {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  align-self: flex-start;
  margin-top: 4px;
}

.dp-hero-bottom {
  z-index: 2;
  max-width: 580px;
  margin-top: auto;
  padding-top: 4rem;
}

ngx-login nb-layout-column.my-login-page .dp-hero-headline,
ngx-login h1.dp-hero-headline {
  font-size: clamp(2rem, 3.4vw, 3rem) !important;
  font-weight: 800 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.03em !important;
  color: #ffffff !important;
  margin: 0 0 1.25rem 0 !important;
}

.dp-hero-headline span {
  background: linear-gradient(135deg, #60a5fa, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

ngx-login nb-layout-column.my-login-page .dp-hero-desc,
ngx-login p.dp-hero-desc {
  font-size: 1.05rem !important;
  line-height: 1.6 !important;
  color: #94a3b8 !important;
  font-weight: 400 !important;
  margin: 0 0 2rem 0 !important;
}

.dp-hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dp-feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0.45rem 0.95rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #cbd5e1;
  backdrop-filter: blur(8px);
}

.dp-feature-pill svg {
  color: #38bdf8;
}

ngx-login nb-layout-column.my-login-page .my-login-container {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  height: auto !important;
  min-height: 100vh !important;
  flex: 1 !important;
  min-width: 440px !important;
  width: auto !important;
  z-index: 2 !important;
  background: radial-gradient(circle at 85% 15%, rgba(96, 165, 250, 0.32) 0%, transparent 65%), linear-gradient(180deg, #1f51a2 0%, #143872 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 3rem 3.5rem !important;
  margin: 0 !important;
}

ngx-login nb-layout-column.my-login-page .section-login,
ngx-login nb-layout-column.my-login-page .container,
ngx-login nb-layout-column.my-login-page .row,
ngx-login nb-layout-column.my-login-page .card-wrapper,
ngx-login nb-layout-column.my-login-page .card,
ngx-login nb-layout-column.my-login-page .card.fat,
ngx-login nb-layout-column.my-login-page .card.card-back,
ngx-login nb-layout-column.my-login-page .card.fat.card-back,
ngx-login nb-layout-column.my-login-page .card.card-back .card-body {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
  margin: 0 auto !important;
  width: 100% !important;
  max-width: 420px !important;
  height: auto !important;
  display: block !important;
}

.dp-form-top-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.8rem;
}

ngx-login nb-layout-column.my-login-page .dp-login-header-group {
  margin-bottom: 2.2rem !important;
}

ngx-login nb-layout-column.my-login-page h2.dp-login-title {
  font-size: 2rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.025em !important;
  color: #ffffff !important;
  margin: 0 0 0.5rem 0 !important;
}

ngx-login nb-layout-column.my-login-page p.dp-login-subtitle {
  font-size: 0.925rem !important;
  color: #dbeafe !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
  margin: 0 !important;
}

ngx-login nb-layout-column.my-login-page .my-login-validation .form-group {
  margin-bottom: 1.35rem !important;
}

ngx-login nb-layout-column.my-login-page .my-login-validation .form-group:nth-of-type(2) {
  margin-bottom: 0.35rem !important;
}

ngx-login nb-layout-column.my-login-page .my-login-validation .form-group:last-of-type {
  margin-bottom: 0 !important;
}

ngx-login label[for="user"],
ngx-login label[for="password"] {
  display: block !important;
  font-size: 0.775rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  color: #bfdbfe !important;
  margin-bottom: 0.5rem !important;
}

.dp-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.dp-input-icon {
  position: absolute;
  left: 16px;
  color: #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}

ngx-login nb-layout-column.my-login-page input.form-control.input-custom {
  width: 100% !important;
  height: 48px !important;
  background: rgba(10, 24, 52, 0.65) !important;
  border: 1px solid rgba(147, 197, 253, 0.35) !important;
  border-width: 1px !important;
  border-radius: 8px !important;
  padding: 0 2.85rem 0 2.9rem !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  outline: none !important;
  box-shadow: none !important;
  margin-bottom: 0 !important;
}

ngx-login nb-layout-column.my-login-page input.form-control.input-custom::placeholder {
  color: #93c5fd !important;
  opacity: 0.65 !important;
  font-weight: 400 !important;
}

ngx-login nb-layout-column.my-login-page input.form-control.input-custom:focus {
  border-color: #93c5fd !important;
  background: rgba(14, 34, 72, 0.88) !important;
}

.dp-toggle-pass-btn {
  position: absolute;
  right: 14px;
  background: none !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  color: #bfdbfe;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  z-index: 2;
}

.dp-toggle-pass-btn:hover {
  color: #ffffff;
}

.dp-admin-link-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0.75rem 0 1.25rem;
}

.dp-preset-hint {
  font-size: 0.775rem;
  color: #34d399;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  visibility: hidden;
}

.dp-remember-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #dbeafe;
  cursor: pointer;
  user-select: none;
  margin: 0;
}

.dp-remember-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.dp-remember-box {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: rgba(10, 24, 52, 0.75);
  border: 1.5px solid rgba(147, 197, 253, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  flex-shrink: 0;
}

.dp-remember-checkbox:checked + .dp-remember-box {
  background: #3b82f6;
  border-color: #60a5fa;
  color: #ffffff;
}

.dp-shield-box {
  width: 100%;
  box-sizing: border-box !important;
  min-height: 64px;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  padding: 0 16px;
  margin-bottom: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s ease;
}

.dp-shield-box:hover:not(.verified):not(.verifying) {
  border-color: #93c5fd;
}

.dp-shield-box.verified {
  border-color: #16a34a;
  cursor: default;
}

.dp-shield-box.error-shake {
  border-color: #ef4444;
  animation: dpShieldShake 0.35s ease;
}

@keyframes dpShieldShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

.dp-shield-left {
  display: flex;
  align-items: center;
  gap: 13px;
}

.dp-shield-slot {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dp-shield-checkbox-ui {
  width: 24px;
  height: 24px;
  border: 2px solid #475569;
  border-radius: 5px;
  background: #ffffff;
}

.dp-shield-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid #dbeafe;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: dpShieldSpin 0.75s linear infinite;
  display: none;
}

@keyframes dpShieldSpin {
  to { transform: rotate(360deg); }
}

.dp-shield-success {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #16a34a;
  color: #ffffff;
  display: none;
  align-items: center;
  justify-content: center;
}

.dp-shield-status {
  font-size: 0.875rem !important;
  font-weight: 600;
  color: #1e293b;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.dp-shield-box.verified .dp-shield-status {
  color: #15803d;
  font-weight: 700;
}

.dp-shield-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  flex-shrink: 0;
  white-space: nowrap;
  line-height: 1.15;
}

.dp-shield-brand-row {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.dp-shield-brand-name {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #0f172a;
  text-transform: uppercase;
}

.dp-shield-brand-sub {
  font-size: 0.62rem;
  font-weight: 500;
  color: #64748b;
  margin-top: 2px;
  white-space: nowrap;
}

.dp-shield-alert {
  display: none;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(252, 165, 165, 0.4);
  color: #fecaca;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  margin-bottom: 1.25rem;
}

ngx-login button[type="submit"].btn-custom {
  width: 100% !important;
  height: 50px !important;
  margin-top: 0 !important;
  background: #3b82f6 !important;
  color: #ffffff !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  border-radius: 8px !important;
  cursor: pointer;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
}

ngx-login button[type="submit"].btn-custom:hover {
  background: #60a5fa !important;
}

.dp-card-brand-sub {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #bfdbfe;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0.85;
}

@media (max-width: 960px) {
  ngx-login nb-layout-column.my-login-page {
    flex-direction: column !important;
  }
  .dp-login-hero {
    flex: none;
    padding: 2.2rem 1.75rem 2rem;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .dp-hero-bottom {
    padding-top: 1.5rem;
  }
  .dp-hero-headline {
    font-size: 1.85rem;
    margin-bottom: 0.75rem;
  }
  .dp-hero-desc {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
  }
  ngx-login nb-layout-column.my-login-page .my-login-container {
    min-width: 100% !important;
    padding: 2.25rem 1.5rem 3.25rem !important;
  }
}

@media (max-width: 420px) {
  .dp-shield-status {
    white-space: normal;
  }
}

/* ---- Barra de busqueda de apps ---- */
.dp-search-bar{display:flex;align-items:center;gap:10px;margin:0 0 14px;padding:12px 14px;border:1px solid rgba(255,255,255,.14);border-radius:12px;background:rgba(255,255,255,.05)}
.dp-search-bar .dp-search-icon{display:inline-flex;opacity:.75}
.dp-search-bar .dp-search-input{flex:1;min-width:0;padding:10px 12px;border-radius:8px;border:1px solid rgba(255,255,255,.2);background:rgba(0,0,0,.25);color:inherit;font:inherit;outline:none}
.dp-search-bar .dp-search-input:focus{border-color:#8b5cf6;box-shadow:0 0 0 3px rgba(139,92,246,.25)}
.dp-search-bar .dp-search-count{font-size:12px;opacity:.7;white-space:nowrap}
