﻿@charset "UTF-8";
:root {
  --rz-border-width: 1px;
  --rz-root-font-size: 20px;
  --rz-body-font-size: 1rem;
  --rz-body-line-height: 1.429;
  --rz-icon-size: 1.5rem;

  --app-font-body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --app-font-heading: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --app-details-sticky-top: 70px;
  --app-details-title-sticky-height: 72px;
  
  /* Light Mode Variables */
  --app-bg-light: #f4f4f4;
  --app-card-bg-light: #ffffff;
  --app-text-light: #1f2937;
  --app-border-light: rgba(0, 0, 0, 0.08);

  /* Brand contract (LIGHT) - ensure every dark var has a light counterpart */
  --brand-primary: #F01E8C;
  --brand-accent: #E1448F;
  --brand-secondary: #7D2AE8;
  --brand-primary-rgb: 240, 30, 140;
  --brand-accent-rgb: 225, 68, 143;
}

[data-bs-theme="dark"] {
  /* Dark Mode Variables - Estilo 2026 */
  --app-bg-dark: #0f0520;
  --app-bg-dark-secondary: #1a0a2e;
  --app-card-bg-dark: rgba(30, 30, 45, 0.7);
  --app-card-bg-dark-solid: #1e1e2d;
  --app-bg: var(--app-bg-dark);
  --app-surface: var(--app-glass-bg);
  --app-text-dark: #e0e0e0;
  --app-text-muted-dark: #9093A5;
  --app-border-dark: rgba(255, 255, 255, 0.1);
  --app-glass-bg: rgba(30, 30, 45, 0.7);
  --app-glass-blur: 10px;

  /* Brand contract (DARK) */
  --brand-primary: #F01E8C;
  --brand-accent: #E1448F;
  --brand-secondary: #7D2AE8;
  --brand-primary-rgb: 240, 30, 140;
  --brand-accent-rgb: 225, 68, 143;
  
  /* Bootstrap Override */
  --bs-body-bg: #0f0520;
  --bs-body-color: #e0e0e0;
  --bs-border-color: rgba(255, 255, 255, 0.1);
}

:root {
  /*--rz-steps-title-selected-color: #28a745;*/
  --_noop: 0;
  --rz-button-disabled-opacity: 0.7;
  --rz-selectbar-border-radius: 8px;
}

html,
body,
.app-default {
  min-height: 100%;
  background-color: #f4f4f4 !important;
  font-family: var(--app-font-body);
}

input,
textarea,
select,
button {
  font-family: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: var(--app-font-heading);
}

.app-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.app-section {
  padding: var(--space-5);
}

.centered {
  position: fixed;
  top: 50%;
  left: 50%;
  /* bring your own prefixes */
  transform: translate(-50%, -50%);
}

.init-transition-body {
  transition: opacity 0.2s;
  opacity: 1 !important;
}

#blazor-error-ui {
  background: lightyellow;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}

.error-boundary-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: 2rem;
}

.error-boundary-container .alert {
  max-width: 600px;
  width: 100%;
  text-align: center;
}

.error-boundary-container .alert-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.blazor-error-boundary {
  background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
  padding: 1rem 1rem 1rem 3.7rem;
  color: white;
}

.blazor-error-boundary::after {
  content: "An error has occurred.";
}

.centered {
  position: fixed;
  top: 50%;
  left: 50%;
  /* bring your own prefixes */
  transform: translate(-50%, -50%);
}

.full-flex {
  height: 100vh;
  display: flex;
}

.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.QuestionAlert {
  color: #ff2252;
}

input::placeholder {
  color: darkgray;
}

.cursor-pointer {
  cursor: pointer;
}

.rz-dropdown-panel {
  z-index: 99999999 !important;
}

.rz-tabview-nav {
  flex-wrap: wrap;
}

.rz-data-grid .rz-cell-filter-content {
  min-height: 10px;
}
.rz-data-grid .rz-cell-filter-content .rz-textbox {
  font-size: 14px;
  padding: 5px 10px;
}
.rz-data-grid .rz-unselectable-text, .rz-data-grid .rz-unselectable-text {
  top: 0 !important;
}

.rz-button-md, .rz-scheduler-nav-views .rz-button.rz-primary, .rz-scheduler-nav-views .rz-primary.rz-paginator-element, .rz-paginator-element, .rz-date-filter-buttons .rz-button, .rz-date-filter-buttons .rz-paginator-element, .rz-fileupload-choose, .rz-selectbutton .rz-button, .rz-selectbutton .rz-paginator-element, .rz-splitbutton-menubutton, .rz-splitbutton .rz-button-text-icon-left, .rz-splitbutton .rz-button-text-only {
  font-weight: 400;
  padding: 0.75rem 1.5rem;
}

.rz-datatable-data td .rz-cell-data, .rz-grid-table td .rz-cell-data {
  word-break: normal;
  white-space: normal;
}

.btn-primary, .rz-primary {
  background-color: #0082CA !important;
  border-color: #0082CA !important;
}

.btn-secondary, .rz-secondary {
  background-color: #EEF6FF !important;
  border-color: #EEF6FF !important;
  color: #0082CA !important;
}

.btn-success, .rz-success {
  background-color: #57B6B2 !important;
  border-color: #57B6B2 !important;
}

.btn-danger, .rz-danger {
  background-color: #A2D45E !important;
  border-color: #A2D45E !important;
}

.btn-warning, .rz-warning {
  background-color: #D79A2B !important;
  border-color: #D79A2B !important;
}

.btn-warning:hover {
  color: white;
}

.btn-info, btn-info {
  background-color: #6BC4E8 !important;
  border-color: #6BC4E8 !important;
}

.btn-dark, btn-dark {
  background-color: #353A3F !important;
  border-color: #17a2b8 !important;
}

.btn, .rz-steps-prev, .rz-steps-next {
  border-radius: 4px !important;
  padding: 5px 12px;
}

.btn-lg {
  min-width: 8rem;
  margin: 0 1rem;
}

.btn-circular {
  border-radius: 50% !important;
  height: 30px;
  width: 30px;
  border: 0;
  padding: 8px;
  font-size: 10px;
}

.btn-circular:focus {
  box-shadow: none !important;
}

.rz-button {
  border-radius: 0.75rem;
}

.rz-panel {
  padding: 0;
}

.no-header thead {
  display: none;
}

.rz-panel-content {
  margin: 0 0 2rem 0;
}

 .mobile-only {
   display: none;
 }

 /* Mobile Grid - Clean list view (stable: keep table layout) */
 @media (max-width: 767px) {
   .mobile-only {
     display: block;
   }

   /* Radzen grid layout fixes for mobile (avoid ultra-narrow name column) */
   .customers-grid .rz-grid-table,
   .customers-grid .rz-grid-table table {
     width: 100% !important;
     table-layout: auto !important;
   }

   .customers-grid .rz-grid-table colgroup col {
     width: auto !important;
   }

   /* Inside the customers grid, mobile-only elements should not force new lines */
   .customers-grid .mobile-only {
     display: inline !important;
   }

   /* Hide columns marked for mobile */
   .col-hide-mobile,
   th.col-hide-mobile,
   td.col-hide-mobile {
     display: none !important;
   }

   /* Hide table headers completely */
   .customers-grid thead {
     display: none !important;
   }

   /* Remove table styling (no spreadsheet look) */
   .customers-grid .rz-cell-data,
   .customers-grid td,
   .customers-grid th {
     border-left: none !important;
     border-right: none !important;
     border-top: none !important;
     border-bottom: none !important;
   }

   .customers-grid tbody tr {
     border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
   }

   .customers-grid tbody tr td {
     padding: 18px 14px !important;
     vertical-align: middle;
   }

   .customers-grid tbody tr:active > td {
     background: rgba(0, 0, 0, 0.03) !important;
   }

   /* Single-line mobile row: [dot] [name] - [id] | [surveys] */
   .customers-grid .customer-mobile-row {
     display: flex;
     align-items: center;
     flex-wrap: wrap;
     font-size: 14px;
     line-height: 1.25;
     white-space: normal;
     overflow: visible;
   }

   .customers-grid .customer-fullname {
     font-size: 14px;
     font-weight: 600;
     white-space: normal;
     overflow: visible;
     text-overflow: clip;
     word-break: normal;
     overflow-wrap: normal;
   }

   .customers-grid .customer-meta {
     font-size: 12px;
     color: rgba(0, 0, 0, 0.55);
     white-space: nowrap;
   }

   .customers-grid .customer-riskdot {
     width: 10px;
     height: 10px;
     border-radius: 50%;
     display: inline-block;
     margin-right: 12px;
     vertical-align: middle;
     opacity: 0.9;
   }

   .customers-grid .customer-riskdot.risk-high {
     background: red;
   }

   .customers-grid .customer-riskdot.risk-low {
     background: green;
   }

   /* SfChart optimizations */
   .e-chart {
     height: 180px !important;
   }
   .e-chart .e-legend-container {
     display: none !important;
   }
   .e-chart .e-axis-label {
     font-size: 10px !important;
   }

   .customers-header {
     margin-top: 10px;
   }
 }

/* Customers mobile - DARK overrides (keep contrast on dark surfaces) */
@media (max-width: 767px) {
  [data-bs-theme="dark"] .customers-grid tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
  [data-bs-theme="dark"] .customers-grid tbody tr:active > td {
    background: rgba(255, 255, 255, 0.05) !important;
  }
  [data-bs-theme="dark"] .customers-grid .customer-meta {
    color: rgba(255, 255, 255, 0.60) !important;
  }
}

.form-user .rz-dropdown {
  font-size: 17px;
  padding: 5px 10px 35px 10px;
  margin: 5px 0;
}

.rz-steps-buttons {
  background: white;
  z-index: 2;
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 6rem;
}

.userdatagrid .rz-dropdown {
  margin-bottom: -6px;
}

.td-userdatagrid .rz-cell-data {
  display: inline !important;
}

.form-group .rz-dropdown {
  display: block;
}

textarea.form-control {
  padding: 10px 10px;
}

.card-toolbar {
  /*    display:flex;
      justify-content: flex-end;
      margin: 1rem 0;*/
  min-height: 0;
}
.card-toolbar .rz-button {
  margin-left: 1rem;
}

.grid_hide_filter .rz-grid-table thead tr:nth-child(2) {
  display: none;
}

.rz-radio-btn:checked ~ label {
  color: blue;
}

.rz-radio-button-list-horizontal .rz-radio-btn {
  /*	transform: scale(1.3);
      margin: 1rem 1rem;*/
  font-size: 17px;
  margin: 10px 0;
  font-weight: 300;
  line-height: 1.2;
  -webkit-box-align: baseline;
  -ms-flex-align: baseline;
  align-items: baseline;
  display: inline;
  white-space: nowrap;
}

.form-check {
  display: inline;
}

.rz-radiobutton-label {
  margin: 0 2rem 0 1.5rem;
  color: black;
}

.rz-chkbox {
  vertical-align: top;
  margin-right: 0.8rem;
}

.rz-textbox {
  font-size: 17px;
  padding: 20px 10px;
}

.form-control {
  font-size: 17px;
  margin: 5px 0;
  padding: 20px 10px;
}

.rz-radiobutton-box {
  border: 2px solid #babfc2;
}

.rz-colorpicker, .rz-lookup-search input, .rz-spinner, .rz-calendar .rz-inputtext, .rz-multiselect, .rz-dropdown, .mask, .rz-textarea, .rz-textbox {
  border: 2px solid #babfc2;
}

.rz-spinner.rz-state-disabled .rz-inputtext, .rz-calendar.rz-state-disabled .rz-inputtext .rz-inputtext, .rz-listbox.rz-state-disabled .rz-inputtext, .rz-autocomplete-input:disabled .rz-inputtext, .rz-state-disabled.rz-multiselect .rz-inputtext, .rz-state-disabled.rz-dropdown .rz-inputtext, .rz-radiobutton-box.rz-state-disabled .rz-inputtext, .rz-chkbox-box.rz-state-disabled .rz-inputtext, .rz-colorpicker:disabled .rz-inputtext, .rz-lookup-search input:disabled .rz-inputtext, .rz-spinner:disabled .rz-inputtext, .rz-calendar .rz-inputtext:disabled .rz-inputtext, .rz-multiselect:disabled .rz-inputtext, .rz-dropdown:disabled .rz-inputtext, .mask:disabled .rz-inputtext, .rz-textarea:disabled .rz-inputtext, .rz-textbox:disabled .rz-inputtext {
  color: rgba(58, 58, 58, 0.9);
}

img.Close_Icon {
  position: fixed;
  right: 1rem;
  top: 1rem;
  width: 1.5rem;
  height: 1.5rem;
  z-index: 999;
}

label {
  color: black;
}

.full-width input {
  width: 100%;
}

.full-width .rz-datepicker input {
  font-size: 17px;
  height: 44px;
}

.full-width .rz-datepicker {
  width: 100%;
}

.semi-box {
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 1rem;
}

.start-no-visible {
  visibility: hidden;
}

.rz-steps ul[role=tablist] {
  position: fixed;
  left: 4vw;
  top: 13vw;
  display: flex;
  justify-content: space-between;
  width: 40%;
  background-position: center;
  flex-direction: column;
  align-items: flex-start;
  z-index: 999;
}

.rz-steps .rz-steps-item {
  text-align: center;
  margin: 0.5em 0;
  /*width: 180px;*/
}

.rz-steps-next {
  color: #28a745;
  background-color: white;
  background-image: none;
  border-color: #28a745;
  height: 3rem;
  position: fixed;
  /*right: 36%;*/
  right: 2rem;
  bottom: 2rem;
  padding-left: 2rem;
  padding-right: 2rem;
  border: 1px solid #28a745;
}
.rz-steps-next i {
  display: none;
}

:root {
  --rz-grid-data-border-shadow: none;
  --rz-grid-cell-border: 0 solid white;
  --rz-grid-right-cell-border: 0 solid white;
  --rz-grid-bottom-cell-border: var(--rz-border-normal);
  --rz-grid-cell-padding: 0.5rem;
  --rz-grid-cell-color: var(--rz-text-color);
}

.rz-cell-filter {
  background-color: white;
}

.rz-datatable-thead th:not(:last-child), .rz-grid-table thead th:not(:last-child) {
  border-right: 0 solid white;
}

.rz-datatable-thead th, .rz-grid-table thead th {
  border-bottom: 1px solid #eee !important;
}

.rz-datatable-data td, .rz-grid-table td {
  border-bottom: 1px solid #eee !important;
  border-right: 1px solid #eee;
}

.rz-datatable-thead th, .rz-grid-table thead th {
  background-color: white;
}

.rz-datatable-odd > td {
  background-color: white;
  height: 48px;
}

.rz-datatable-even > td {
  background-color: #ffffff;
  height: 48px;
}

.rz-datatable-thead th .rz-column-title, .rz-grid-table thead th .rz-column-title {
  font-size: 1rem;
  font-weight: 600;
  color: #9093A5 !important;
}

.rz-datatable-data td .rz-cell-data, .rz-grid-table td .rz-cell-data {
  font-size: 1rem;
}

.title-menu {
  margin-bottom: 1rem;
}

.form-control-no-editmode {
  font-size: 17px;
  margin: 5px 0;
  padding: 10px 10px;
}

.wizard a.rz-steps-next.rz-state-disabled {
  opacity: 0;
}

.rz-steps-prev {
  color: #9ba7b4;
  background-color: white;
  background-image: none;
  border-color: #9ba7b4;
  height: 3rem;
  position: fixed;
  /*left: 2rem;*/
  left: 43%;
  bottom: 2rem;
  padding-left: 2rem;
  padding-right: 2rem;
  border: 1px solid #9ba7b4;
}
.rz-steps-prev i {
  display: none;
}

.wizard a.rz-steps-prev.rz-state-disabled {
  opacity: 0;
}

.rz-steps .rz-state-highlight .rz-steps-number {
  border: 2px #479cc8 solid;
}

.rz-steps-current ~ .rz-steps-item .rz-steps-number {
  border: 2px gray solid;
}

.rz-steps-number {
  padding: 0.7rem 0 !important;
  width: 3.2rem !important;
  height: 3.2rem !important;
  font-size: 18px;
  border: 2px var(--rz-steps-title-selected-color) solid;
}

#iframepdf {
  border: 1px solid #CCCCCC;
  width: 100%;
  height: calc(100vh - 300px);
}

.fixed {
  position: fixed;
  /*left: 0;*/
  top: 0;
  right: 0;
  bottom: 0;
}

.vertical-center {
  margin: 0;
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.row_wizard {
  display: flex;
}

.column_wizard {
  margin: auto;
}

.column_wizard_header {
  flex: 1 1 40%;
  height: 100vh;
}

.column_wizard_header > div {
  width: 100%;
  height: 100%;
  background-position: top right;
  background-size: cover;
  opacity: 0.15;
  position: fixed;
  width: 40vw;
  height: 100vh;
  background-color: #ddd;
  background-blend-mode: multiply;
  z-index: 3;
}

.column_wizard_page {
  flex: 1 1 60%;
}

.login > section > .container {
  width: 50%;
  margin-left: 3rem;
}

.wizard .logo2 {
  position: fixed;
  margin: 0.5rem 1rem;
  top: 0;
  z-index: 999;
}

.wizard .logo2 img {
  width: 20vw;
}

.wizard section {
  padding: 3rem 0 6rem 0;
}

.wizard span.title {
  font-size: 42px;
  font-weight: 600;
  color: #1381c5;
  /*text-transform: uppercase;*/
}

.wizard span.sub-title {
  font-size: 18px;
  font-weight: 600;
  color: black;
  /*text-transform: uppercase;*/
}

.wizard h2.text {
  margin: 25px 0 8px 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  color: #1381c5;
}

.wizard .container .sec-title {
  overflow: auto;
}

.title-text {
  font-size: 18px;
}

.wizard .container {
  padding-right: 3rem;
  padding-left: 3rem;
}

.redsys {
  padding-bottom: 2rem;
}

.redsys::after {
  content: "";
  background: transparent url(../img/redsys.png) no-repeat;
  width: 100px;
  height: 39px;
  background-size: contain;
}

.redsys::before {
  content: "Pague con tarjeta de crédito a través de Servired/RedSys";
  position: absolute;
  margin-top: 3rem;
  margin-left: 4rem;
}

.paypal {
  padding-bottom: 2rem;
}

.paypal::after {
  content: "";
  background: transparent url(../img/paypal.png) no-repeat;
  width: 100px;
  height: 25px;
  background-size: contain;
}

.paypal::before {
  content: "Pague con su cuenta PayPal de modo seguro";
  position: absolute;
  margin-top: 3rem;
  margin-left: 4rem;
}

.wizard .container .tarifa-container {
  border: 1px solid #ced4da;
  margin: 1rem;
  padding: 1rem;
  height: 54px;
}

.wizard .container .tarifa {
  text-align: left;
  float: left;
  font-size: 18px;
  font-weight: 600;
  color: black;
}

.wizard .container .importe {
  float: right;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  color: #1381c5;
}

.wizard .container .cupon-container {
  border: 1px solid #ced4da;
  margin: 1rem;
  padding: 1rem;
  height: 54px;
}

.wizard .container .cupon {
  text-align: left;
  float: left;
  font-size: 18px;
  font-weight: 600;
  color: black;
  border: none;
  margin-top: -3px;
  width: 80%;
}

.wizard .container .btn-cupon {
  float: right;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  color: #1381c5;
  background-color: white;
  border-radius: 0.5rem;
  padding: 5px;
  margin-top: -8px;
  width: 20%;
}

.form-group {
  margin: 25px 0 10px 0;
}

.form-control-label {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
  color: #479cc8;
}

.rz-chkbox + .form-control-label {
  color: black;
}

.rz-calendar > .rz-inputtext {
  font-size: 18px;
  margin: 5px 0;
  padding: 20px 10px;
}

.wizard h2.text:first-of-type {
  margin: 15px 0 10px 0;
}

.visible-movil {
  visibility: collapse;
}

.register_step_title {
  display: none;
}

@media only screen and (max-width: 1200px) {
  /*.wizard section {
      padding-right: 38%;
      padding-left: 5%;
  }
  */
  .rz-steps .rz-steps-item {
    /*width: 120px;*/
    min-width: 0;
  }
}
@media only screen and (max-width: 990px) {
  /*.wizard section {
      padding-right: 28%;
      padding-left: 0%;
  }*/
  .wizard .container {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }
  .rz-textbox {
    font-size: 17px;
    padding: 15px 8px;
  }
  .rz-steps .rz-steps-item {
    /*width: 80px;*/
    min-width: 0;
  }
  .wizard span.title {
    font-size: 32px;
  }
  .wizard h2.text {
    margin: 25px 0 8px 0;
    font-size: 17px;
    line-height: 1.1;
  }
}
@media only screen and (max-width: 769px) {
  .wizard .container {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    width: auto !important;
    margin-left: 0 !important;
  }
  .redsys::before {
    margin-top: 4rem;
  }
  .paypal::before {
    margin-top: 4rem;
  }
  .wizard .container .btn-cupon {
    font-size: 12px;
  }
  .wizard .container .sec-title {
    overflow: auto;
    margin-bottom: 0rem !important;
  }
  .hidden-movil {
    visibility: collapse;
    display: none;
  }
  .visible-movil {
    visibility: visible;
  }
  .vertical-center {
    margin: 0;
    position: relative;
    -ms-transform: inherit;
    transform: inherit;
  }
  .rz-steps ul[role=tablist] {
    left: 2rem;
    right: 2rem;
    width: inherit;
    text-align: center;
    transform: inherit;
    top: 15vw;
    position: absolute;
    flex-direction: row;
    align-items: center;
    background-image: url("../img/StepsBackgroundV.png");
    position: fixed;
  }
  .rz-steps-number {
    padding: 0.3rem 0 !important;
    width: 2.5rem !important;
    height: 2.5rem !important;
    font-size: 17px;
  }
  .register_step_title {
    display: inherit;
    position: absolute;
    top: 21vh;
    width: 100%;
    margin: auto;
    text-align: center;
    color: var(--rz-steps-title-selected-color);
    font-size: 1.5rem;
  }
  .wizard .rz-steps-title {
    display: none;
  }
  .wizard .background-movil {
    height: 28vw;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1;
  }
  .wizard .background-movil > div {
    width: 100%;
    height: 100%;
    background-position: top right;
    background-size: cover;
    opacity: 0.15;
    background-color: #ddd;
    background-blend-mode: multiply;
  }
  .rz-steps-next {
    right: 1rem;
    bottom: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    height: 2rem;
  }
  .rz-steps-prev {
    left: 1rem;
    bottom: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    height: 2rem;
  }
  .rz-steps-buttons {
    height: 3rem;
  }
  .row_wizard {
    display: block;
  }
  .wizard section {
    margin-top: 25vw;
    padding-left: 0;
    padding-right: 0;
  }
  .container {
    max-width: 100%;
  }
  /*section {
      padding: 0;
      width: 100%;
  }
  */
}
@media only screen and (max-width: 359px) {
  .wizard .container {
    padding-right: 0;
    padding-left: 0;
  }
  .btn-lg {
    min-width: 4rem;
    margin: 0 1rem;
  }
  .rz-textbox {
    font-size: 16px;
    padding: 15px 8px;
  }
  .rz-steps ul[role=tablist] {
    left: 1rem;
    right: 1rem;
  }
  .wizard span.title {
    font-size: 22px;
  }
  .wizard h2.text {
    margin: 20px 0 6px 0;
    font-size: 16px;
    line-height: 1;
  }
}
.rz-rating a {
  font-size: 24px !important;
}

.rz-progressbar-label {
  opacity: 0;
}

.rating-5 .rz-progressbar-value {
  background-color: red !important;
}

.rating-4 .rz-progressbar-value {
  background-color: red !important;
}

.rating-3 .rz-progressbar-value {
  background-color: #ffd800 !important;
}

.rating-2 .rz-progressbar-value {
  background-color: green !important;
}

.rating-1 .rz-progressbar-value {
  background-color: green !important;
}

.title-back-container {
  display: flex;
  cursor: pointer;
}
.title-back-container > i {
  font-size: 2rem;
  margin-right: 1rem;
}

.rz-selectable .rz-datatable-even, .rz-datatable-odd {
  cursor: pointer;
}

.card-header2 {
  padding: 1rem 2.25rem;
}

.col-menu {
  padding-left: 4px;
  padding-right: 4px;
}

.btn-menu {
  transform: scale(0.95);
  width: 72px !important;
  height: 72px !important;
}

.estado_bar {
  width: 191px;
  max-width: 191px;
}
.estado_bar > span {
  width: 175px;
  max-width: 175px;
}

.estado_header {
  width: 191px;
  max-width: 191px;
}

.app-sidebar {
  background-color: white;
}

#kt_app_sidebar_mobile_toggle {
  z-index: 108;
}

#kt_app_sidebar {
  padding: 10px;
  overflow: hidden;
  text-align: center;
}

[data-kt-app-layout=dark-sidebar] .app-sidebar {
  background-color: white;
}

.menu_btns {
  padding-top: 5rem;
}

.customer-selected {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin: 0 2rem;
}

.text-customer-selected {
  display: flex;
  flex-direction: column;
  margin: 0 1rem;
  flex: auto;
}

.customer-selected > .rz-progressbar {
  flex: auto;
  max-width: 200px;
}

.app-footer {
  position: fixed;
  bottom: 0;
  background-color: transparent;
  height: 3rem;
}

@media (max-width: 500px) {
  .page-title {
    margin-left: 1rem;
  }
  .estado_bar {
    width: 50px;
  }
  .estado_bar > span {
    width: 40px;
  }
  .estado_header {
    width: 50px;
  }
  .estado_header > span {
    width: 40px;
  }
  .app-container-extra {
    max-width: none;
    padding-left: 0px !important;
    padding-right: 0 !important;
  }
}
.bm-container {
  z-index: 110 !important;
}

.bm-title {
  color: #479cc8;
}

.first-row {
  position: relative;
  top: -4rem;
}

.fake-tab {
  height: 36px !important;
  width: 100% !important;
  top: 0;
  position: relative !important;
  overflow-y: hidden !important;
}

.cabecera-profile {
  z-index: 999;
  position: relative;
}

.informe-box {
  /* border: 1px solid #057ec5; */
  /* border-radius: 1rem; */
  padding: 0.5rem;
  margin-bottom: 2rem;
  background-color: #e9edf0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 20rem;
  border-bottom: 6px solid #057ec5;
  position: relative;
}

.informe-btn-box {
  display: flex;
  flex-direction: column;
  position: absolute;
  bottom: 2.5rem;
  left: 0;
  right: 0;
  padding: 0 1rem;
  align-items: stretch;
}

.informe-btn-box2 {
  display: flex;
  justify-content: space-evenly;
  flex-direction: row;
}

.informe-btn-inner {
  width: 48%;
}

.informe-title-box {
  display: flex;
  flex-direction: row;
  padding: 0 1rem;
  justify-content: space-between;
  margin: 0.5rem 0;
}

.informe-title-text {
  display: flex;
  flex-direction: column;
}

.informe-title-text-1 {
  font-weight: 600;
}

.informe-title-text-2 {
  color: black;
  font-size: x-large;
}

.informe-title-img {
  height: 50px;
  opacity: 0.5;
}

.informe-footer {
  position: absolute;
  bottom: 0.5rem;
  left: 0;
  right: 0;
  margin: auto;
  text-align: center;
  font-size: 0.8rem;
}

.informe-footer-2 {
  color: black;
  font-weight: 600;
}

.informe-btn-generate {
  width: 96%;
  margin: auto auto 0.5rem auto;
}

.informe-btn-notify {
  margin: auto;
  padding: 1rem 5rem;
}

.informe-notify {
  margin: auto;
  font-size: 0.8rem;
}

.informe-footer-notify {
  margin-top: 0.5rem;
  text-align: center;
}

.informe-footer-notify-2 {
  color: black;
  font-weight: 600;
}

.informe-btn-download {
  background-color: #2a6663 !important;
}

.informe-btn-upload {
  background-color: #8870da !important;
}

.informe-description {
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
}

.informe-description-1 {
  font-weight: 600;
}

.flame_policy {
  width: 100%;
  height: calc(100vh - 200px);
}

.blazored-modal-content > .flame_policy {
  width: 90vw;
}

.blazored-modal {
  border-radius: 1rem;
}

.blazored-modal-overlay {
  background-color: rgba(0, 0, 0, 0.7);
}

.blazored-modal-close {
  visibility: hidden;
}

.blazored-modal-close:after {
  content: url(/img/icons/close.png);
  visibility: visible;
  display: block;
  margin-top: -30px;
  margin-right: -2px;
  opacity: 0.5;
}

.blazored-modal-title {
  vertical-align: middle;
  text-align: center;
  width: 100%;
  color: #553d89;
  font-size: x-large;
  font-weight: bold;
}

.blazored-modal-header {
  margin-left: 60px;
  align-items: center;
  margin-top: -10px;
}

.swal2-styled.swal2-confirm, .swal2-styled.swal2-cancel {
  border-radius: 0.5em;
  width: 180px;
}

@media (max-width: 1024px) {
  .blazored-modal-title {
    font-size: medium;
  }
  .blazored-modal-header {
    padding: 0;
  }
}
/*    .e-schedule .e-vertical-view .e-resource-cells {
       height: 62px;
   }

   .e-schedule .template-wrap {
       display: flex;
       text-align: left;
   }

   .e-schedule .template-wrap .resource-image img {
       width: 45px;
       height: 45px;
   }*/
.e-schedule .template-wrap .resource-details {
  padding-left: 10px;
}

.e-schedule .template-wrap .resource-details .resource-name {
  font-size: 16px;
  font-weight: 500;
  margin-top: 5px;
}

.e-schedule.e-device .template-wrap .resource-details .resource-name {
  font-size: inherit;
  font-weight: inherit;
}

/*    .e-schedule.e-device .e-resource-tree-popup .e-fullrow {
        height: 50px;
    }

    .e-schedule.e-device .template-wrap .resource-details .resource-designation {
        display: none;
    }*/
:root {
  --rz-tabs-padding: 1.25rem;
  --rz-tabs-shadow: 0 8px 10px 0 rgba(0, 0, 0, 0.01);
  --rz-tabs-border: var(--rz-border-base-200);
  --rz-tabs-border-radius: var(--rz-border-radius);
  --rz-tabs-background-color: var(--rz-base-background-color);
  --rz-tabs-tab-font-size: 15px;
  --rz-tabs-tab-line-height: var(--rz-body-line-height);
  --rz-tabs-tab-font-weight: normal;
  --rz-tabs-tab-text-transform: none;
  --rz-tabs-tab-letter-spacing: 0;
  --rz-tabs-tab-padding: 0.5rem 1rem;
  --rz-tabs-tab-background-color: var(--rz-base-200);
  --rz-tabs-tab-color: var(--rz-text-title-color);
  --rz-tabs-tab-selected-color: var(--rz-secondary);
  --rz-tabs-tab-selected-top-border-color: var(--rz-secondary);
  --rz-tabs-tab-hover-background-color: var(--rz-base-background-color);
  --rz-tabs-tab-hover-color: var(--rz-secondary-light);
  --rz-tabs-icon-font-size: var(--rz-icon-size);
  --rz-tabs-icon-margin: 0 0.25rem 0 -0.25rem;
  --rz-tabs-transition: var(--rz-transition-all);
}

body {
  overflow-x: hidden;
}

label {
  display: inherit;
  color: black;
}

.float-right {
  float: right !important;
}

.form-group {
  margin: 25px 0 10px 0;
}

.form-control {
  font-size: 17px;
  margin: 5px 0;
  padding: 20px 10px;
  display: block;
  width: 100%;
  height: calc(2.25rem + 2px);
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control-label {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
  color: #479cc8;
}

.form-control-text {
  height: 10rem;
}

.grid_face {
  width: 32px;
  height: 32px;
}

.chart_face {
  width: 20px;
  height: 20px;
}

.cropper {
  max-height: 300px;
  width: 100%;
}

.cropper-img {
  max-height: 300px;
  width: auto;
}

.question_title {
  margin-left: 0rem;
  font-weight: bold;
}

.question_answers {
  margin-left: 2rem;
}

.combo-category {
  width: 100%;
}

.combo-category > label {
  width: 100%;
}

.combo-category > .form-control-label > .rz-dropdown {
  width: 100%;
}

.rz-dropdown {
  font-size: 17px;
  height: 40px;
  margin-top: 5px;
}

.rz-dropdown-items-wrapper {
  max-height: 400px !important;
}

.debug_flat {
  position: absolute;
  bottom: 0;
  height: 1.5rem;
  background-color: #f9f9f9;
  user-select: none;
}

.anonymous_field .rzi {
  font-size: 22px;
  font-weight: 300;
}

@media only screen and (min-width: 992px) {
  .content-scroll {
    position: absolute;
    overflow-y: auto;
    height: calc(100% - 410px);
    width: calc(100% - 162px);
    max-width: 1460px;
  }
}
#components-reconnect-modal::after {
  content: "Recargue esta página si no consigue reconectar";
  display: block;
  font-size: 18px;
  color: black;
}

/* Modern 2026 Styles - Dark Mode Support - Estilo Inmersivo */
html[data-bs-theme="dark"],
body[data-bs-theme="dark"],
[data-bs-theme="dark"] .app-default {
  background: linear-gradient(135deg, var(--app-bg-dark, #0f0520) 0%, var(--app-bg-dark-secondary, #1a0a2e) 100%) !important;
  background-attachment: fixed !important;
}

/* Metronic App Structure - Fondo Transparente para Mostrar Gradiente */
[data-bs-theme="dark"] .app-page {
  background-color: transparent !important;
}

[data-bs-theme="dark"] .app-wrapper {
  background-color: transparent !important;
}

[data-bs-theme="dark"] .app-main {
  background-color: transparent !important;
}

[data-bs-theme="dark"] .app-content {
  background-color: transparent !important;
}

[data-bs-theme="dark"] .app-container {
  background-color: transparent !important;
}

[data-bs-theme="dark"] .content-container {
  background-color: transparent !important;
}

/* Sidebar Dark Mode */
[data-bs-theme="dark"] .app-sidebar,
[data-bs-theme="dark"] #kt_app_sidebar {
  background-color: #1e1e1e !important;
  border-right-color: #2a2a2a;
}

[data-bs-theme="dark"] .menu-item .menu-link {
  color: #e0e0e0 !important;
}

[data-bs-theme="dark"] .menu-item .menu-link:hover {
  background-color: #2a2a2a !important;
}

[data-bs-theme="dark"] .menu-item.active .menu-link {
  background-color: #2a2a2a !important;
}

/* Cards - Efecto Cristal Oscuro Estilo 2026 */
[data-bs-theme="dark"] .card {
  background: var(--app-glass-bg, rgba(30, 30, 45, 0.7)) !important;
  backdrop-filter: blur(var(--app-glass-blur, 10px)) !important;
  border-color: var(--app-border-dark, rgba(255, 255, 255, 0.1)) !important;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37) !important;
}

[data-bs-theme="dark"] .card-header {
  background: rgba(30, 30, 45, 0.5) !important;
  border-bottom-color: var(--app-border-dark, rgba(255, 255, 255, 0.1)) !important;
  backdrop-filter: blur(5px) !important;
}

[data-bs-theme="dark"] .card-body {
  background: transparent !important;
  color: var(--app-text-dark, #e0e0e0) !important;
}

[data-bs-theme="dark"] .card-title,
[data-bs-theme="dark"] .card-label {
  color: var(--app-text-dark, #e0e0e0) !important;
}

/* Forzar Transparencia en Contenedores de Gráficas */
[data-bs-theme="dark"] .chart-container,
[data-bs-theme="dark"] .e-chart,
[data-bs-theme="dark"] .e-chart-border,
[data-bs-theme="dark"] .rz-chart,
[data-bs-theme="dark"] .rz-chart-svg {
  background: transparent !important;
  background-color: transparent !important;
}

/* Tables - Radzen - Con Variables CSS */
[data-bs-theme="dark"] .rz-datatable,
[data-bs-theme="dark"] .rz-grid {
  background: var(--app-glass-bg, rgba(30, 30, 45, 0.7)) !important;
  backdrop-filter: blur(var(--app-glass-blur, 10px)) !important;
}

[data-bs-theme="dark"] .rz-datatable-thead th,
[data-bs-theme="dark"] .rz-grid-table thead th {
  background: rgba(30, 30, 45, 0.5) !important;
  color: var(--app-text-dark, #e0e0e0) !important;
  border-bottom-color: var(--app-border-dark, rgba(255, 255, 255, 0.1)) !important;
}

[data-bs-theme="dark"] .rz-datatable-odd > td,
[data-bs-theme="dark"] .rz-datatable-even > td {
  background: transparent !important;
  border-bottom-color: var(--app-border-dark, rgba(255, 255, 255, 0.1)) !important;
  color: var(--app-text-dark, #e0e0e0) !important;
}

[data-bs-theme="dark"] .rz-datatable-data td,
[data-bs-theme="dark"] .rz-grid-table td {
  border-right-color: var(--app-border-dark, rgba(255, 255, 255, 0.1)) !important;
  color: var(--app-text-dark, #e0e0e0) !important;
}

[data-bs-theme="dark"] .rz-cell-data {
  color: var(--app-text-dark, #e0e0e0) !important;
}

[data-bs-theme="dark"] .rz-column-title {
  color: var(--app-text-muted-dark, #9093A5) !important;
}

/* Tabs - Radzen */
[data-bs-theme="dark"] .rz-tabview,
[data-bs-theme="dark"] .rz-tabview-panels {
  background-color: #2a2a2a;
}

[data-bs-theme="dark"] .rz-tabview-nav {
  background-color: #2a2a2a;
  border-bottom-color: #3a3a3a;
}

[data-bs-theme="dark"] .rz-tabview-nav li {
  background-color: #1e1e1e;
  border-color: #3a3a3a;
}

[data-bs-theme="dark"] .rz-tabview-nav li.rz-tabview-selected {
  background-color: #2a2a2a;
  border-bottom-color: transparent;
  color: var(--brand-primary, #0082CA) !important;
}

[data-bs-theme="dark"] .rz-tabview-nav li a {
  color: #9093A5 !important;
}

[data-bs-theme="dark"] .rz-tabview-nav li.rz-tabview-selected a {
  color: var(--brand-primary, #0082CA) !important;
}

[data-bs-theme="dark"] .rz-tabview-panel {
  background-color: #2a2a2a;
  color: #e0e0e0;
}

/* Forms */
[data-bs-theme="dark"] label {
  color: #e0e0e0;
}

[data-bs-theme="dark"] .form-control {
  background-color: #1e1e1e;
  border-color: #3a3a3a;
  color: #e0e0e0;
}

[data-bs-theme="dark"] .form-control:focus {
  background-color: #2a2a2a;
  border-color: var(--brand-primary, #0082CA);
  color: #e0e0e0;
}

[data-bs-theme="dark"] .rz-textbox,
[data-bs-theme="dark"] .rz-dropdown {
  background-color: #1e1e1e;
  border-color: #3a3a3a;
  color: #e0e0e0;
}

[data-bs-theme="dark"] .rz-dropdown-panel {
  background-color: #2a2a2a;
  border-color: #3a3a3a;
}

[data-bs-theme="dark"] .rz-dropdown-item {
  color: #e0e0e0;
}

[data-bs-theme="dark"] .rz-dropdown-item:hover {
  background-color: #3a3a3a;
}

/* Text Colors */
[data-bs-theme="dark"] .text-gray-800,
[data-bs-theme="dark"] .text-dark {
  color: #e0e0e0 !important;
}

[data-bs-theme="dark"] .text-gray-400,
[data-bs-theme="dark"] .text-muted {
  color: #9093A5 !important;
}

[data-bs-theme="dark"] h1, 
[data-bs-theme="dark"] h2, 
[data-bs-theme="dark"] h3, 
[data-bs-theme="dark"] h4, 
[data-bs-theme="dark"] h5, 
[data-bs-theme="dark"] h6 {
  color: #e0e0e0 !important;
}

[data-bs-theme="dark"] p,
[data-bs-theme="dark"] span:not(.svg-icon):not(.badge) {
  color: #e0e0e0;
}

/* Syncfusion Charts - Fondo Transparente y Texto Claro */
[data-bs-theme="dark"] .e-chart,
[data-bs-theme="dark"] .e-chart-border,
[data-bs-theme="dark"] .e-control.e-chart,
[data-bs-theme="dark"] svg.e-chart-border {
  background: transparent !important;
  background-color: transparent !important;
}

[data-bs-theme="dark"] .e-chart text,
[data-bs-theme="dark"] .e-chart tspan {
  fill: var(--app-text-dark, #e0e0e0) !important;
}

[data-bs-theme="dark"] .e-chart .e-chart-title,
[data-bs-theme="dark"] .e-chart .e-axis-label {
  fill: var(--app-text-dark, #e0e0e0) !important;
}

[data-bs-theme="dark"] .e-chart .e-grid-line {
  stroke: var(--app-border-dark, rgba(255, 255, 255, 0.1)) !important;
}

/* Syncfusion Schedule/Calendar */
[data-bs-theme="dark"] .e-schedule,
[data-bs-theme="dark"] .e-calendar {
  background: var(--app-glass-bg, rgba(30, 30, 45, 0.7)) !important;
  color: var(--app-text-dark, #e0e0e0) !important;
}

/* Buttons in Dark Mode */
[data-bs-theme="dark"] .btn-secondary {
  background-color: #3a3a3a !important;
  border-color: #3a3a3a !important;
  color: #e0e0e0 !important;
}

[data-bs-theme="dark"] .btn-light {
  background-color: #3a3a3a !important;
  border-color: #3a3a3a !important;
  color: #e0e0e0 !important;
}

/* Modals */
[data-bs-theme="dark"] .modal-content,
[data-bs-theme="dark"] .blazored-modal {
  background-color: #2a2a2a;
  border-color: #3a3a3a;
}

[data-bs-theme="dark"] .modal-header {
  background-color: #2a2a2a;
  border-bottom-color: #3a3a3a;
}

[data-bs-theme="dark"] .modal-body {
  background-color: #2a2a2a;
  color: #e0e0e0;
}

[data-bs-theme="dark"] .modal-footer {
  background-color: #2a2a2a;
  border-top-color: #3a3a3a;
}

/* Separators */
[data-bs-theme="dark"] .separator,
[data-bs-theme="dark"] hr {
  border-color: #3a3a3a !important;
}

/* Badges */
[data-bs-theme="dark"] .badge {
  background-color: #3a3a3a;
  color: #e0e0e0;
}

/* Customer Selected Area */
[data-bs-theme="dark"] .customer-selected {
  background-color: #2a2a2a;
  border-color: #3a3a3a;
}

[data-bs-theme="dark"] .text-customer-selected {
  color: #e0e0e0;
}

/* Modern Card Styles 2026 */
.card {
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-bs-theme="dark"] .card {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.1);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

[data-bs-theme="dark"] .card:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.card-header {
  border-radius: 20px 20px 0 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

[data-bs-theme="dark"] .card-header {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* Modern Table Row Hover */
.rz-datatable-data tr,
.rz-grid-table tbody tr {
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.rz-datatable-data tr:hover,
.rz-grid-table tbody tr:hover {
  background-color: rgba(var(--brand-primary-rgb, 240, 30, 140), 0.05) !important;
  transform: scale(1.01);
}

[data-bs-theme="dark"] .rz-datatable-data tr:hover,
[data-bs-theme="dark"] .rz-grid-table tbody tr:hover {
  background-color: rgba(var(--brand-primary-rgb, 240, 30, 140), 0.15) !important;
}

/* Risk Indicators - Pill Style */
.estado_bar {
  border-radius: 50px;
  overflow: hidden;
}

.estado_bar > span {
  border-radius: 50px;
}

.rz-progressbar {
  border-radius: 50px;
  overflow: hidden;
}

.rz-progressbar-value {
  border-radius: 50px;
}

/* Branding Color Support */
.btn-primary,
.rz-primary {
  background-color: var(--brand-primary, #0082CA) !important;
  border-color: var(--brand-primary, #0082CA) !important;
  transition: all 0.3s ease;
}

.btn-primary:hover,
.rz-primary:hover {
  background-color: var(--brand-accent, #0072B0) !important;
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Modern Button Styles */
.btn,
.rz-button {
  border-radius: 12px !important;
  transition: all 0.3s ease;
  font-weight: 500;
}

.btn:hover,
.rz-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Symbol/Avatar Modern Style */
.symbol {
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.symbol:hover {
  transform: scale(1.05);
}

.symbol-circle {
  border-radius: 50% !important;
}

/* Card Toolbar Spacing */
.card-toolbar .rz-button {
  margin-left: 0.75rem;
}

/* Smooth Transitions for Theme Switch */
body,
.card,
.form-control,
.rz-textbox,
.rz-dropdown,
.rz-datatable-data td,
.rz-grid-table td,
label {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Modern Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

[data-bs-theme="dark"] ::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
  background: var(--brand-primary, #0082CA);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand-accent, #0072B0);
}

/* Focus States */
.form-control:focus,
.rz-textbox:focus,
.rz-dropdown:focus {
  border-color: var(--brand-primary, #0082CA);
  box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb, 240, 30, 140), 0.12);
  outline: none;
}

:where(a, button, [role="button"], input, select, textarea, .btn, .rz-button):focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb, 240, 30, 140), 0.18);
}

[data-bs-theme="dark"] :where(a, button, [role="button"], input, select, textarea, .btn, .rz-button):focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(225, 68, 143, 0.18);
}

/* Light-mode contrast guarantees for inputs/selects (do not affect dark) */
:root:not([data-bs-theme="dark"]) .form-control,
:root:not([data-bs-theme="dark"]) .rz-textbox,
:root:not([data-bs-theme="dark"]) .rz-inputtext,
:root:not([data-bs-theme="dark"]) .rz-dropdown,
:root:not([data-bs-theme="dark"]) .rz-datepicker,
:root:not([data-bs-theme="dark"]) .rz-spinner,
:root:not([data-bs-theme="dark"]) input,
:root:not([data-bs-theme="dark"]) select,
:root:not([data-bs-theme="dark"]) textarea {
  border-color: #ccc !important;
}

/* Modern Badge/Tag Styles */
.badge {
  border-radius: 8px;
  padding: 0.35em 0.65em;
  font-weight: 500;
}

/* Glass Effect for Modern UI */
.glass-effect {
  background: var(--brand-glass-bg, rgba(255, 255, 255, 0.15));
  backdrop-filter: blur(var(--brand-glass-blur, 20px));
  border-radius: var(--brand-radius, 32px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-bs-theme="dark"] .glass-effect {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

/* Eliminar Fondos Blancos Restantes */
[data-bs-theme="dark"] .bg-white,
[data-bs-theme="dark"] .bg-light {
  background-color: transparent !important;
}

[data-bs-theme="dark"] .row,
[data-bs-theme="dark"] .col,
[data-bs-theme="dark"] [class*="col-"] {
  background-color: transparent !important;
}

[data-bs-theme="dark"] .container,
[data-bs-theme="dark"] .container-fluid {
  background-color: transparent !important;
}

/* Inputs y Selects Adicionales */
[data-bs-theme="dark"] input,
[data-bs-theme="dark"] select,
[data-bs-theme="dark"] textarea {
  background-color: var(--app-card-bg-dark-solid, #1e1e2d) !important;
  border-color: var(--app-border-dark, rgba(255, 255, 255, 0.1)) !important;
  color: var(--app-text-dark, #e0e0e0) !important;
}

[data-bs-theme="dark"] input::placeholder,
[data-bs-theme="dark"] textarea::placeholder {
  color: var(--app-text-muted-dark, #9093A5) !important;
}

/* Links */
[data-bs-theme="dark"] a {
  color: var(--brand-primary, #0082CA);
}

[data-bs-theme="dark"] a:hover {
  color: var(--brand-accent, #0072B0);
}

/* Tooltips y Popovers */
[data-bs-theme="dark"] .tooltip,
[data-bs-theme="dark"] .popover {
  background-color: var(--app-card-bg-dark-solid, #1e1e2d) !important;
  border-color: var(--app-border-dark, rgba(255, 255, 255, 0.1)) !important;
}

[data-bs-theme="dark"] .tooltip-inner {
  background-color: var(--app-card-bg-dark-solid, #1e1e2d) !important;
  color: var(--app-text-dark, #e0e0e0) !important;
}

/* Dropdown Menus */
[data-bs-theme="dark"] .dropdown-menu {
  background: var(--app-glass-bg, rgba(30, 30, 45, 0.7)) !important;
  backdrop-filter: blur(var(--app-glass-blur, 10px)) !important;
  border-color: var(--app-border-dark, rgba(255, 255, 255, 0.1)) !important;
}

[data-bs-theme="dark"] .dropdown-item {
  color: var(--app-text-dark, #e0e0e0) !important;
}

[data-bs-theme="dark"] .dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
}

/* FORCE THEME OVERRIDES - MUST STAY AT END OF FILE */
body[data-bs-theme="dark"] {
  background-color: var(--app-bg-dark) !important;
}

[data-bs-theme="dark"] .app-page,
[data-bs-theme="dark"] .app-wrapper,
[data-bs-theme="dark"] .app-main,
[data-bs-theme="dark"] .app-content,
[data-bs-theme="dark"] .app-container,
[data-bs-theme="dark"] #kt_app_content,
[data-bs-theme="dark"] #kt_app_page,
[data-bs-theme="dark"] #kt_app_root {
  background-color: transparent !important;
}

[data-bs-theme="dark"] .card,
[data-bs-theme="dark"] .rz-datatable,
[data-bs-theme="dark"] .rz-grid,
[data-bs-theme="dark"] .rz-tabview,
[data-bs-theme="dark"] .rz-tabview-panels,
[data-bs-theme="dark"] .rz-dialog,
[data-bs-theme="dark"] .rz-dialog-content,
[data-bs-theme="dark"] .rz-popup,
[data-bs-theme="dark"] .rz-dropdown-panel,
[data-bs-theme="dark"] .modal-content,
[data-bs-theme="dark"] .blazored-modal {
  background: var(--app-glass-bg) !important;
  border-color: var(--bs-border-color) !important;
}

[data-bs-theme="dark"] .rz-grid-table td,
[data-bs-theme="dark"] .rz-grid-table th,
[data-bs-theme="dark"] .rz-datatable-data td,
[data-bs-theme="dark"] .rz-datatable-thead th {
  background-color: transparent !important;
  color: var(--bs-body-color) !important;
  border-color: var(--bs-border-color) !important;
}

[data-bs-theme="dark"] .rz-tabview-nav li,
[data-bs-theme="dark"] .rz-tabview-nav li a {
  color: var(--bs-body-color) !important;
}

[data-bs-theme="dark"] .rz-tabview-nav li.rz-tabview-selected,
[data-bs-theme="dark"] .rz-tabview-nav li.rz-tabview-selected a {
  color: var(--brand-primary, #0082CA) !important;
}

[data-bs-theme="dark"] .e-control,
[data-bs-theme="dark"] .e-chart,
[data-bs-theme="dark"] .e-chart-border {
  background-color: transparent !important;
}

[data-bs-theme="dark"] .debug_flat {
  background-color: rgba(15, 5, 32, 0.65) !important;
  color: var(--bs-body-color) !important;
}

[data-bs-theme="dark"] .rz-secondary,
[data-bs-theme="dark"] .rz-button.rz-secondary,
[data-bs-theme="dark"] .rz-variant-filled.rz-secondary {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: var(--bs-body-color) !important;
}

[data-bs-theme="dark"] .rz-secondary:hover,
[data-bs-theme="dark"] .rz-button.rz-secondary:hover,
[data-bs-theme="dark"] .rz-variant-filled.rz-secondary:hover {
  background-color: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

.swal2-glass-modal {
  border-radius: 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
}

[data-bs-theme="dark"] .swal2-input {
  background-color: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: white !important;
  border-radius: 12px !important;
}

.swal2-icon.swal2-question {
  border-color: var(--brand-primary) !important;
  color: var(--brand-primary) !important;
}

[data-bs-theme="dark"] .rz-cell-filter {
  background-color: transparent !important;
}

[data-bs-theme="dark"] .rz-cell-filter-content,
[data-bs-theme="dark"] .rz-cell-filter-content .rz-textbox,
[data-bs-theme="dark"] .rz-cell-filter-content .rz-inputtext,
[data-bs-theme="dark"] .rz-cell-filter-content input,
[data-bs-theme="dark"] .rz-cell-filter-content textarea,
[data-bs-theme="dark"] .rz-cell-filter-content select {
  background-color: rgba(255, 255, 255, 0.06) !important;
  color: var(--bs-body-color) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

[data-bs-theme="dark"] .rz-cell-filter-content input::placeholder,
[data-bs-theme="dark"] .rz-cell-filter-content textarea::placeholder {
  color: rgba(255, 255, 255, 0.55) !important;
}

[data-bs-theme="dark"] .rz-cell-filter-content .rz-dropdown,
[data-bs-theme="dark"] .rz-cell-filter-content .rz-dropdown-trigger,
[data-bs-theme="dark"] .rz-cell-filter-content .rz-dropdown-label {
  background-color: rgba(255, 255, 255, 0.06) !important;
  color: var(--bs-body-color) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

[data-bs-theme="dark"] #blazor-error-ui {
  background: var(--app-glass-bg, rgba(30, 30, 45, 0.85)) !important;
  color: var(--bs-body-color, #e0e0e0) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(var(--app-glass-blur, 10px)) !important;
}

[data-bs-theme="dark"] #blazor-error-ui a.reload {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  border-radius: 0.75rem;
  background: var(--brand-primary, #0082CA);
  color: #fff !important;
  text-decoration: none;
  margin-left: 0.75rem;
}

[data-bs-theme="dark"] #blazor-error-ui a.dismiss {
  color: var(--bs-body-color, #e0e0e0) !important;
}

#components-reconnect-modal {
  backdrop-filter: blur(var(--app-glass-blur, 10px)) !important;
}

[data-bs-theme="dark"] #components-reconnect-modal {
  background: rgba(15, 5, 32, 0.55) !important;
}

[data-bs-theme="dark"] #components-reconnect-modal > div,
[data-bs-theme="dark"] #components-reconnect-modal .components-reconnect-dialog {
  background: var(--app-glass-bg, rgba(30, 30, 45, 0.85)) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 20px !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45) !important;
  color: var(--bs-body-color, #e0e0e0) !important;
}

[data-bs-theme="dark"] #components-reconnect-modal::after {
  color: var(--bs-body-color, #e0e0e0) !important;
}

[data-bs-theme="dark"] .rz-grid-table thead th,
[data-bs-theme="dark"] .rz-datatable-thead th {
  background-color: transparent !important;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.05) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  font-weight: 600 !important;
  font-size: 11px !important;
  color: var(--brand-accent, #E1448F) !important;
}

[data-bs-theme="dark"] .rz-grid-table tbody td,
[data-bs-theme="dark"] .rz-datatable-data td {
  background-color: transparent !important;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.05) !important;
}

[data-bs-theme="dark"] .rz-grid-table tbody tr,
[data-bs-theme="dark"] .rz-datatable-data tr {
  background-color: transparent !important;
}

[data-bs-theme="dark"] .rz-grid-table tbody tr:hover > td,
[data-bs-theme="dark"] .rz-datatable-data tr:hover > td {
  background-color: rgba(255, 255, 255, 0.03) !important;
}

[data-bs-theme="dark"] .rz-grid-table tr.rz-state-highlight > td,
[data-bs-theme="dark"] .rz-datatable-data tr.rz-state-highlight > td {
  background-color: rgba(255, 255, 255, 0.04) !important;
}

[data-bs-theme="dark"] .rz-grid-table tr.rz-state-highlight > td:first-child,
[data-bs-theme="dark"] .rz-datatable-data tr.rz-state-highlight > td:first-child {
  box-shadow: inset 3px 0 0 var(--brand-primary, #F01E8C) !important;
}

[data-bs-theme="dark"] .card-toolbar .rz-button,
[data-bs-theme="dark"] .grid-btns .rz-button {
  background-color: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: var(--bs-body-color) !important;
  box-shadow: none !important;
}

[data-bs-theme="dark"] .card-toolbar .rz-button:hover,
[data-bs-theme="dark"] .grid-btns .rz-button:hover {
  background-color: rgba(225, 68, 143, 0.10) !important;
  border-color: rgba(225, 68, 143, 0.45) !important;
  box-shadow: 0 0 0 1px rgba(225, 68, 143, 0.20), 0 8px 24px rgba(225, 68, 143, 0.18) !important;
}

[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .rz-textbox,
[data-bs-theme="dark"] .rz-inputtext,
[data-bs-theme="dark"] .rz-dropdown,
[data-bs-theme="dark"] .rz-datepicker,
[data-bs-theme="dark"] .rz-spinner {
  background: rgba(0, 0, 0, 0.30) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: var(--bs-body-color) !important;
}

[data-bs-theme="dark"] .form-control:focus,
[data-bs-theme="dark"] .rz-textbox:focus,
[data-bs-theme="dark"] .rz-inputtext:focus,
[data-bs-theme="dark"] .rz-dropdown:focus,
[data-bs-theme="dark"] .rz-datepicker:focus,
[data-bs-theme="dark"] .rz-spinner:focus,
[data-bs-theme="dark"] .rz-textbox:focus-within,
[data-bs-theme="dark"] .rz-dropdown:focus-within,
[data-bs-theme="dark"] .rz-datepicker:focus-within {
  border-color: rgba(225, 68, 143, 0.65) !important;
  box-shadow: 0 0 0 3px rgba(225, 68, 143, 0.18) !important;
  outline: none !important;
}

/* Neon charts (Syncfusion) */
[data-bs-theme="dark"] .neon-chart .e-series path {
  filter: drop-shadow(0 0 6px rgba(225, 68, 143, 0.45)) drop-shadow(0 0 14px rgba(225, 68, 143, 0.22));
}

[data-bs-theme="dark"] .neon-chart .e-axis-labels text,
[data-bs-theme="dark"] .neon-chart .e-axis-title text,
[data-bs-theme="dark"] .neon-chart text {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
}

[data-bs-theme="dark"] #kt_app_root .card,
[data-bs-theme="dark"] #kt_app_root .app-main,
[data-bs-theme="dark"] #kt_app_root .app-content,
[data-bs-theme="dark"] #kt_app_root .app-wrapper {
  background: rgba(255, 255, 255, 0.03) !important;
  backdrop-filter: blur(25px) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-radius: 24px !important;
}

[data-bs-theme="dark"] #kt_app_root .app-page,
[data-bs-theme="dark"] #kt_app_root .app-main,
[data-bs-theme="dark"] #kt_app_root .app-wrapper,
[data-bs-theme="dark"] #kt_app_root .app-content {
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35) !important;
}

[data-bs-theme="dark"] #kt_app_header.app-header {
  background: rgba(10, 6, 20, 0.18) !important;
  backdrop-filter: blur(18px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

[data-bs-theme="dark"] #kt_app_header .app-navbar .btn,
[data-bs-theme="dark"] #kt_app_header .app-navbar a,
[data-bs-theme="dark"] #kt_app_header .app-navbar .svg-icon {
  color: rgba(255, 255, 255, 0.80) !important;
}

[data-bs-theme="dark"] #kt_header_user_menu_toggle .symbol {
  padding: 2px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--brand-primary, #F01E8C), var(--brand-secondary, #7D2AE8)) !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) !important;
}

:root:not([data-bs-theme="dark"]) #kt_header_user_menu_toggle .symbol {
  padding: 2px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--brand-primary, #F01E8C), var(--brand-secondary, #7D2AE8)) !important;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.10) !important;
}

[data-bs-theme="dark"] #kt_header_user_menu_toggle .symbol img {
  border-radius: 999px !important;
}

[data-bs-theme="dark"] #kt_header_user_menu_toggle:hover .symbol {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 10px 30px rgba(225, 68, 143, 0.22) !important;
}

[data-bs-theme="dark"] #kt_header_user_menu_toggle .menu-sub-dropdown {
  background: rgba(15, 5, 32, 0.92) !important;
  backdrop-filter: blur(26px) !important;
  -webkit-backdrop-filter: blur(26px) !important;
  border: 1px solid rgba(225, 68, 143, 0.20) !important;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.55) !important;
  z-index: 2000 !important;
}

[data-bs-theme="dark"] #kt_header_user_menu_toggle .menu-sub-dropdown .menu-link,
[data-bs-theme="dark"] #kt_header_user_menu_toggle .menu-sub-dropdown .menu-title,
[data-bs-theme="dark"] #kt_header_user_menu_toggle .menu-sub-dropdown a {
  color: rgba(255, 255, 255, 0.90) !important;
}

[data-bs-theme="dark"] #kt_header_user_menu_toggle .menu-sub-dropdown .text-muted {
  color: rgba(255, 255, 255, 0.60) !important;
}

[data-bs-theme="dark"] #kt_app_sidebar.app-sidebar {
  background: rgba(0, 0, 0, 0.18) !important;
  backdrop-filter: blur(22px) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
}

[data-bs-theme="dark"] #kt_app_sidebar .btn-menu {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  color: rgba(255, 255, 255, 0.80) !important;
  letter-spacing: 0.06em !important;
  font-weight: 500 !important;
  border-radius: 18px !important;
}

[data-bs-theme="dark"] #kt_app_sidebar .btn-menu i,
[data-bs-theme="dark"] #kt_app_sidebar .btn-menu .svg-icon {
  color: rgba(255, 255, 255, 0.60) !important;
}

[data-bs-theme="dark"] #kt_app_sidebar .btn-menu:hover {
  background: rgba(225, 68, 143, 0.10) !important;
  border-color: rgba(225, 68, 143, 0.35) !important;
  box-shadow: 0 0 0 1px rgba(225, 68, 143, 0.15), 0 14px 40px rgba(225, 68, 143, 0.14) !important;
}

[data-bs-theme="dark"] #kt_app_sidebar .btn-menu.active,
[data-bs-theme="dark"] #kt_app_sidebar .btn-menu[aria-current="page"] {
  background: rgba(225, 68, 143, 0.12) !important;
  border-color: rgba(225, 68, 143, 0.42) !important;
  box-shadow: 0 0 0 1px rgba(225, 68, 143, 0.18), 0 18px 48px rgba(225, 68, 143, 0.18) !important;
}

[data-bs-theme="dark"] #kt_app_sidebar .btn-menu.active i,
[data-bs-theme="dark"] #kt_app_sidebar .btn-menu[aria-current="page"] i {
  color: var(--brand-accent, #E1448F) !important;
}

[data-bs-theme="dark"] .badge.badge-light-danger,
[data-bs-theme="dark"] .badge.badge-light-success,
[data-bs-theme="dark"] .badge.badge-light-warning {
  filter: drop-shadow(0 0 10px rgba(225, 68, 143, 0.18)) !important;
}

[data-bs-theme="dark"] .badge.badge-light-danger {
  filter: drop-shadow(0 0 10px rgba(255, 77, 109, 0.35)) !important;
}

[data-bs-theme="dark"] .badge.badge-light-success {
  filter: drop-shadow(0 0 10px rgba(39, 245, 191, 0.30)) !important;
}

[data-bs-theme="dark"] .badge.badge-light-warning {
  filter: drop-shadow(0 0 10px rgba(255, 193, 7, 0.30)) !important;
}

[data-bs-theme="dark"] .btn.btn-primary,
[data-bs-theme="dark"] .rz-button.rz-primary,
[data-bs-theme="dark"] .rz-button.rz-primary:hover,
[data-bs-theme="dark"] .rz-button.rz-primary:focus {
  background: linear-gradient(90deg, var(--brand-accent, #F01E8C), var(--brand-secondary, #7D2AE8)) !important;
  border: 0 !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 15px rgba(240, 30, 140, 0.30) !important;
}

/* Primary actions must remain magenta in LIGHT too */
:root:not([data-bs-theme="dark"]) .btn.btn-primary,
:root:not([data-bs-theme="dark"]) .rz-button.rz-primary,
:root:not([data-bs-theme="dark"]) .rz-button.rz-primary:hover,
:root:not([data-bs-theme="dark"]) .rz-button.rz-primary:focus {
  background: linear-gradient(90deg, var(--brand-accent, #F01E8C), var(--brand-secondary, #7D2AE8)) !important;
  border: 0 !important;
  color: #fff !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 15px rgba(240, 30, 140, 0.22) !important;
}

[data-bs-theme="dark"] .btn.btn-primary:hover,
[data-bs-theme="dark"] .rz-button.rz-primary:hover {
  box-shadow: 0 0 0 1px rgba(240, 30, 140, 0.18), 0 10px 30px rgba(240, 30, 140, 0.25) !important;
}

[data-bs-theme="dark"] .neon-chart .e-series path {
  stroke-width: 3px !important;
}

/* SIMPLIFICATION OVERRIDES (keep hierarchy clean) */
[data-bs-theme="dark"] #kt_app_root .app-page,
[data-bs-theme="dark"] #kt_app_root .app-wrapper,
[data-bs-theme="dark"] #kt_app_root .app-main,
[data-bs-theme="dark"] #kt_app_root .app-content {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

[data-bs-theme="dark"] #kt_app_root .card {
  background: rgba(12, 7, 22, 0.62) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 20px !important;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28) !important;
  backdrop-filter: none !important;
}

/* Tabs - Radzen (avoid double panels and keep active underline) */
[data-bs-theme="dark"] #kt_app_content .rz-tabview,
[data-bs-theme="dark"] #kt_app_content .rz-tabview-panels,
[data-bs-theme="dark"] #kt_app_content .rz-tabview-panel {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

[data-bs-theme="dark"] #kt_app_content .rz-tabview-nav {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
}

[data-bs-theme="dark"] #kt_app_content .rz-tabview-nav li {
  background: transparent !important;
  border: 0 !important;
  position: relative !important;
}

[data-bs-theme="dark"] #kt_app_content .rz-tabview-nav li a {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.68) !important;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
}

[data-bs-theme="dark"] #kt_app_content .rz-tabview-nav li.rz-tabview-selected a {
  color: #ffffff !important;
}

[data-bs-theme="dark"] #kt_app_content .rz-tabview-nav li.rz-tabview-selected::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: -1px;
  height: 2px;
  background: var(--brand-primary, #F01E8C);
  border-radius: 2px;
}

/* Sidebar - simplify (classic layout, modern finish) */
[data-bs-theme="dark"] #kt_app_sidebar.app-sidebar {
  background: #090511 !important;
  backdrop-filter: none !important;
  border-right: 1px solid rgba(240, 30, 140, 0.35) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Patient detail readability */
[data-bs-theme="dark"] #kt_app_content .text-gray-900,
[data-bs-theme="dark"] #kt_app_content .text-dark {
  color: #ffffff !important;
}

[data-bs-theme="dark"] #kt_app_content .text-gray-400,
[data-bs-theme="dark"] #kt_app_content .text-muted {
  color: rgba(255, 255, 255, 0.58) !important;
}

@media only screen and (min-width: 992px) {
  [data-bs-theme="dark"] #kt_app_content .content-scroll {
    position: static !important;
    height: auto !important;
    overflow: visible !important;
  }

  [data-bs-theme="dark"] #kt_app_content .rz-tabview-panels {
    overflow: visible !important;
  }
}

/* Grid Invisible (Radzen) */
[data-bs-theme="dark"] #kt_app_content .rz-grid,
[data-bs-theme="dark"] #kt_app_content .rz-datatable,
[data-bs-theme="dark"] #kt_app_content .rz-data-grid {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

[data-bs-theme="dark"] #kt_app_content .rz-grid-table,
[data-bs-theme="dark"] #kt_app_content .rz-grid-table table,
[data-bs-theme="dark"] #kt_app_content .rz-datatable-data,
[data-bs-theme="dark"] #kt_app_content .rz-datatable-data table {
  background: transparent !important;
  background-color: transparent !important;
}

[data-bs-theme="dark"] #kt_app_content .rz-datatable-thead th,
[data-bs-theme="dark"] #kt_app_content .rz-grid-table thead th {
  background: transparent !important;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.05) !important;
}

[data-bs-theme="dark"] #kt_app_content .rz-datatable-data td,
[data-bs-theme="dark"] #kt_app_content .rz-grid-table td {
  background: transparent !important;
  background-color: transparent !important;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.05) !important;
  border-right: 0 !important;
}

/* Avatar initials (replace generic person icons) */
[data-bs-theme="dark"] .avatar-initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.rz-grid-table .symbol.symbol-circle .avatar-initials,
.rz-datatable .symbol.symbol-circle .avatar-initials {
  background: transparent !important;
  border: 2px solid var(--brand-primary, #F01E8C) !important;
  color: var(--brand-primary, #F01E8C) !important;
}

[data-bs-theme="dark"] .rz-grid-table .symbol.symbol-circle .avatar-initials,
[data-bs-theme="dark"] .rz-datatable .symbol.symbol-circle .avatar-initials {
  background: transparent !important;
  border-color: rgba(var(--brand-primary-rgb, 240, 30, 140), 0.95) !important;
  color: rgba(255, 255, 255, 0.95) !important;
}

:root:not([data-bs-theme="dark"]) .avatar-initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(0, 0, 0, 0.78);
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.customer-head-card {
  margin-bottom: var(--space-4) !important;
}

.customer-head-card .card-body {
  padding-top: var(--space-4) !important;
  padding-bottom: var(--space-3) !important;
}

.customer-head-card .d-flex.flex-wrap.fw-semibold.fs-6.mb-4 {
  margin-bottom: var(--space-2) !important;
}

.customer-head-card .border.border-gray-300.border-dashed.rounded.min-w-125px {
  padding-top: var(--space-2) !important;
  padding-bottom: var(--space-2) !important;
  padding-left: var(--space-3) !important;
  padding-right: var(--space-3) !important;
  margin-right: var(--space-3) !important;
  margin-bottom: var(--space-3) !important;
  min-width: 112px !important;
}

.customer-head-card .d-flex.flex-column.flex-grow-1.pe-8 {
  padding-right: var(--space-4) !important;
}

.customer-head-card .w-200px.w-sm-300px.flex-column.mt-3.mb-8 {
  margin-top: var(--space-2) !important;
  margin-bottom: var(--space-3) !important;
}

.customer-head-card .customer-head-title {
  position: sticky;
  top: var(--app-details-sticky-top);
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  padding-top: var(--space-2);
  padding-bottom: var(--space-2);
  margin-bottom: 0 !important;
}

@media (max-width: 991px) {
  :root {
    --app-details-sticky-top: 56px;
  }

  .customer-head-card {
    margin-bottom: var(--space-2) !important;
  }

  .customer-head-card .customer-head-title {
    padding-top: var(--space-1);
    padding-bottom: var(--space-1);
  }
}

[data-bs-theme="dark"] .customer-head-card .customer-head-title {
  background: rgba(10, 6, 20, 0.55);
  backdrop-filter: blur(14px);
}

.details-tabs .rz-tabview-nav {
  position: static !important;
  top: auto !important;
  z-index: auto !important;
  background: transparent !important;
  backdrop-filter: none !important;
}

.analysis-page {
  margin-bottom: var(--space-3);
}

.analysis-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.analysis-title {
  margin: 0;
}

.analysis-filter .rz-dropdown {
  margin-top: 0 !important;
}

#kt_header_user_menu_toggle .symbol.symbol-30px {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
}

#kt_app_footer {
  display: none !important;
}

.app-sidebar-footer {
  margin-top: auto;
  padding: 10px 6px;
  text-align: center;
  font-size: 11px;
  line-height: 1.2;
}

.app-sidebar-footer-year {
  display: block;
}

:root:not([data-bs-theme="dark"]) .app-sidebar-footer {
  color: rgba(0, 0, 0, 0.55);
}

[data-bs-theme="dark"] .app-sidebar-footer {
  color: rgba(255, 255, 255, 0.65);
}

.app-sidebar-footer-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.app-sidebar-footer-link:hover {
  color: var(--brand-primary, #F01E8C);
  text-decoration: underline;
}

.customers-grid .rz-datatable-odd > td,
.customers-grid .rz-datatable-even > td,
.customers-grid .rz-grid-table tbody td {
  background: transparent !important;
  background-color: transparent !important;
}

.customers-grid .rz-datatable-data tr:hover,
.customers-grid .rz-grid-table tbody tr:hover {
  transform: none !important;
}

@media (max-width: 991px) {
  .customers-filter-btn {
    display: none !important;
  }
}

:root:not([data-bs-theme="dark"]) .customers-grid td.estado_bar .rz-progressbar {
  background: rgba(0, 0, 0, 0.08) !important;
  height: 12px;
}

[data-bs-theme="dark"] .customers-grid td.estado_bar .rz-progressbar {
  background: rgba(255, 255, 255, 0.12) !important;
  height: 12px;
}

.customers-grid td.estado_bar .rz-progressbar-value {
  height: 100%;
}

.customers-grid td.estado_bar {
  border-radius: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  background-color: transparent !important;
}

.customers-grid td.estado_bar .rz-progressbar,
.customers-grid td.estado_bar .rz-progressbar-value {
  border-radius: 9999px !important;
}

.customers-grid .rz-grid-table td,
.customers-grid .rz-grid-table th {
  border-left: 0 !important;
  border-right: 0 !important;
}

:root:not([data-bs-theme="dark"]) .customers-grid .rz-grid-table td,
:root:not([data-bs-theme="dark"]) .customers-grid .rz-grid-table th {
  border-bottom-color: rgba(0, 0, 0, 0.06) !important;
}

[data-bs-theme="dark"] .customers-grid .rz-grid-table td,
[data-bs-theme="dark"] .customers-grid .rz-grid-table th {
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

.customers-grid td.estado_bar .rz-progressbar {
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}

.customers-grid td.estado_bar .rz-progressbar-value {
  box-shadow: none !important;
}

:root:not([data-bs-theme="dark"]) .symbol.symbol-100px .avatar-initials,
:root:not([data-bs-theme="dark"]) .symbol.symbol-lg-160px .avatar-initials {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 2px solid var(--brand-primary, #F01E8C) !important;
  color: var(--brand-primary, #F01E8C) !important;
}

[data-bs-theme="dark"] .symbol.symbol-100px .avatar-initials,
[data-bs-theme="dark"] .symbol.symbol-lg-160px .avatar-initials {
  background: rgba(10, 6, 20, 0.62) !important;
  border: 2px solid rgba(var(--brand-primary-rgb, 240, 30, 140), 0.95) !important;
  color: rgba(255, 255, 255, 0.95) !important;
}

.symbol.symbol-100px .avatar-initials,
.symbol.symbol-lg-160px .avatar-initials {
  line-height: 1;
  font-size: 30px !important;
  letter-spacing: 0.06em !important;
}

[data-bs-theme="dark"] .symbol.symbol-100px .avatar-initials,
[data-bs-theme="dark"] .symbol.symbol-lg-160px .avatar-initials {
  font-size: 30px !important;
  letter-spacing: 0.06em !important;
}

:root:not([data-bs-theme="dark"]) .symbol.symbol-100px .avatar-initials,
:root:not([data-bs-theme="dark"]) .symbol.symbol-lg-160px .avatar-initials {
  font-size: 30px !important;
  letter-spacing: 0.06em !important;
}

/* Customers grid: compact numeric columns without affecting mobile layout */
.customers-grid th.col-seage,
.customers-grid td.col-seage,
.customers-grid th.col-nenc,
.customers-grid td.col-nenc {
  text-align: center;
  font-size: 12px;
}

@media (min-width: 1024px) {
  .customers-grid td.col-avatar,
  .customers-grid th.col-avatar {
    background: transparent !important;
    background-color: transparent !important;
    vertical-align: middle !important;
  }

  .customers-grid td.col-id,
  .customers-grid th.col-id {
    vertical-align: middle !important;
  }

  .customers-grid td.col-id {
    white-space: nowrap;
  }

  .customers-grid td.col-avatar .symbol {
    background: transparent !important;
    background-color: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    display: inline-block;
  }

  .customers-grid td.col-avatar .symbol.symbol-40px {
    width: 35px !important;
    height: 35px !important;
    min-width: 35px !important;
    min-height: 35px !important;
  }

  .customers-grid td.col-avatar .avatar-initials {
    width: 35px !important;
    height: 35px !important;
    border-radius: 999px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px !important;
    letter-spacing: 0.06em !important;
  }

  :root:not([data-bs-theme="dark"]) .customers-grid td.col-avatar .avatar-initials {
    background: transparent !important;
    border: 2px solid var(--brand-primary, #F01E8C) !important;
    color: var(--brand-primary, #F01E8C) !important;
  }

  [data-bs-theme="dark"] .customers-grid td.col-avatar .avatar-initials {
    background: transparent !important;
    border: 2px solid rgba(var(--brand-primary-rgb, 240, 30, 140), 0.95) !important;
    color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  .customers-grid td.col-avatar .avatar-initials {
    background: transparent !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
}

/* Sidebar icon-only buttons: center and reduce margin */
#kt_app_sidebar .menu_btns {
  padding-top: 1rem;
}

#kt_app_sidebar .menu_btns .btn-menu {
  margin: 0 auto;
}

#kt_app_sidebar .menu_btns .col-menu {
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem !important;
}

[data-bs-theme="dark"] .glass-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.news-mobile-only {
  display: none;
}

.news-desktop-only {
  display: block;
}

@media (max-width: 767px) {
  .news-mobile-only {
    display: block;
  }

  .news-desktop-only {
    display: none;
  }
}

[data-bs-theme="dark"] .news-crud .news-empty-state {
  min-height: 45vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 24px 14px;
}

[data-bs-theme="dark"] .news-crud .news-empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

[data-bs-theme="dark"] .news-crud .news-empty-icon i {
  font-size: 26px;
  color: rgba(255, 255, 255, 0.75);
}

[data-bs-theme="dark"] .news-crud .news-empty-title {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
}

[data-bs-theme="dark"] .news-crud .news-mobile-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 8px 0 6px 0;
}

[data-bs-theme="dark"] .news-crud .news-mobile-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 14px 14px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

[data-bs-theme="dark"] .tap-44 {
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

[data-bs-theme="dark"] .tap-44.rz-button {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  box-shadow: none !important;
}

[data-bs-theme="dark"] .tap-44.rz-button:hover {
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(240, 30, 140, 0.35) !important;
}

[data-bs-theme="dark"] .news-crud .news-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

[data-bs-theme="dark"] .news-crud .news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

[data-bs-theme="dark"] .news-crud .news-card-iconbtn {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.90);
  cursor: pointer;
}

[data-bs-theme="dark"] .news-crud .news-card-iconbtn:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(240, 30, 140, 0.35);
}

[data-bs-theme="dark"] .news-crud .news-card-iconbtn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(240, 30, 140, 0.18);
}

[data-bs-theme="dark"] .news-crud .news-card-iconbtn i {
  font-size: 16px;
  line-height: 1;
}

:root:not([data-bs-theme="dark"]) .glass-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

:root:not([data-bs-theme="dark"]) .tap-44 {
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

:root:not([data-bs-theme="dark"]) .tap-44.rz-button {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 !important;
  border-radius: 12px !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  background: rgba(255, 255, 255, 0.85) !important;
  box-shadow: none !important;
}

:root:not([data-bs-theme="dark"]) .tap-44.rz-button:hover {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(233, 30, 140, 0.25) !important;
}

:root:not([data-bs-theme="dark"]) .news-crud .news-empty-icon {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

:root:not([data-bs-theme="dark"]) .news-crud .news-empty-icon i {
  color: rgba(0, 0, 0, 0.55);
}

:root:not([data-bs-theme="dark"]) .news-crud .news-empty-title {
  color: rgba(0, 0, 0, 0.70);
}

:root:not([data-bs-theme="dark"]) .news-crud .news-mobile-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
}

:root:not([data-bs-theme="dark"]) .news-crud .news-card-title {
  color: rgba(0, 0, 0, 0.82);
}

:root:not([data-bs-theme="dark"]) .news-crud .news-card-tags,
:root:not([data-bs-theme="dark"]) .news-crud .news-card-date {
  color: rgba(0, 0, 0, 0.55);
}

:root:not([data-bs-theme="dark"]) .news-crud .news-card-badge {
  background: rgba(233, 30, 140, 0.10);
  border: 1px solid rgba(233, 30, 140, 0.22);
  color: rgba(0, 0, 0, 0.75);
}

:root:not([data-bs-theme="dark"]) .news-crud .news-card-iconbtn {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 12px;
  color: rgba(0, 0, 0, 0.70);
  cursor: pointer;
}

:root:not([data-bs-theme="dark"]) .news-crud .news-card-iconbtn:hover {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(233, 30, 140, 0.25);
}

:root:not([data-bs-theme="dark"]) .news-crud .news-card-iconbtn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(233, 30, 140, 0.16);
}

:root:not([data-bs-theme="dark"]) .news-crud .news-edit-card label,
:root:not([data-bs-theme="dark"]) .news-crud .news-edit-card .form-control-label {
  color: rgba(0, 0, 0, 0.70) !important;
}

:root:not([data-bs-theme="dark"]) .news-crud .news-edit-card input,
:root:not([data-bs-theme="dark"]) .news-crud .news-edit-card textarea,
:root:not([data-bs-theme="dark"]) .news-crud .news-edit-card .form-control,
:root:not([data-bs-theme="dark"]) .news-crud .news-edit-card .rz-inputtext,
:root:not([data-bs-theme="dark"]) .news-crud .news-edit-card .rz-textbox,
:root:not([data-bs-theme="dark"]) .news-crud .news-edit-card .rz-textarea {
  color: rgba(0, 0, 0, 0.82) !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

:root:not([data-bs-theme="dark"]) .news-crud .news-edit-card input:focus,
:root:not([data-bs-theme="dark"]) .news-crud .news-edit-card textarea:focus,
:root:not([data-bs-theme="dark"]) .news-crud .news-edit-card .form-control:focus,
:root:not([data-bs-theme="dark"]) .news-crud .news-edit-card .rz-inputtext:focus,
:root:not([data-bs-theme="dark"]) .news-crud .news-edit-card .rz-textbox:focus,
:root:not([data-bs-theme="dark"]) .news-crud .news-edit-card .rz-textarea:focus {
  border-bottom-color: #E91E8C !important;
  outline: none !important;
  box-shadow: none !important;
}

:root:not([data-bs-theme="dark"]) .news-crud .news-tag-chip {
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: transparent;
  color: rgba(0, 0, 0, 0.70);
}

:root:not([data-bs-theme="dark"]) .news-crud .news-tag-chip.is-selected {
  background: rgba(233, 30, 140, 0.75);
  border-color: rgba(233, 30, 140, 0.85);
  color: #ffffff;
}

[data-bs-theme="dark"] .news-crud .news-mobile-card:active {
  transform: scale(0.99);
}

[data-bs-theme="dark"] .news-crud .news-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

[data-bs-theme="dark"] .news-crud .news-card-date {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

[data-bs-theme="dark"] .news-crud .news-card-badge {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(240, 30, 140, 0.18);
  border: 1px solid rgba(240, 30, 140, 0.35);
  color: rgba(255, 255, 255, 0.92);
}

[data-bs-theme="dark"] .news-crud .news-card-title {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 6px;
}

[data-bs-theme="dark"] .news-crud .news-card-tags {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

[data-bs-theme="dark"] .news-crud .news-edit-card {
  padding: 14px 14px;
}

[data-bs-theme="dark"] .news-crud .news-edit-card label,
[data-bs-theme="dark"] .news-crud .news-edit-card .form-control-label {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: rgba(255, 255, 255, 0.80) !important;
}

[data-bs-theme="dark"] .news-crud .news-edit-card input,
[data-bs-theme="dark"] .news-crud .news-edit-card textarea,
[data-bs-theme="dark"] .news-crud .news-edit-card .form-control,
[data-bs-theme="dark"] .news-crud .news-edit-card .rz-inputtext,
[data-bs-theme="dark"] .news-crud .news-edit-card .rz-textbox,
[data-bs-theme="dark"] .news-crud .news-edit-card .rz-textarea {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: rgba(255, 255, 255, 0.92) !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

[data-bs-theme="dark"] .news-crud .news-edit-card input:focus,
[data-bs-theme="dark"] .news-crud .news-edit-card textarea:focus,
[data-bs-theme="dark"] .news-crud .news-edit-card .form-control:focus,
[data-bs-theme="dark"] .news-crud .news-edit-card .rz-inputtext:focus,
[data-bs-theme="dark"] .news-crud .news-edit-card .rz-textbox:focus,
[data-bs-theme="dark"] .news-crud .news-edit-card .rz-textarea:focus {
  border-bottom-color: var(--brand-primary, #F01E8C) !important;
  outline: none !important;
  box-shadow: none !important;
}

[data-bs-theme="dark"] .news-crud .news-edit-card textarea,
[data-bs-theme="dark"] .news-crud .news-edit-card .rz-textarea {
  height: 160px;
  overflow: auto;
  resize: none;
}

[data-bs-theme="dark"] .news-crud .news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

[data-bs-theme="dark"] .news-crud .news-tag-chip {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  padding: 8px 12px;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

[data-bs-theme="dark"] .news-crud .news-tag-chip.is-selected {
  background: rgba(240, 30, 140, 0.65);
  border-color: rgba(240, 30, 140, 0.75);
  color: #ffffff;
}

[data-bs-theme="dark"] .news-crud .news-tag-chip:disabled {
  opacity: 0.6;
}

.news-crud .news-actions-bottom {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.news-crud .news-actions-bottom.mobile-only {
  display: none !important;
}

.news-crud .news-actions-bottom .rz-button,
.news-crud .news-actions-bottom .btn {
  flex: 1 1 0;
}

.news-crud .news-actions-top {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.news-crud .news-actions-top .rz-button,
.news-crud .news-actions-top .btn {
  padding: 0.45rem 0.85rem;
  font-size: 13px;
  border-radius: 10px !important;
}

@media (max-width: 767px) {
  .news-crud .news-actions-bottom {
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .news-crud .news-actions-bottom.mobile-only {
    display: flex !important;
  }

  .news-crud .news-actions-bottom .rz-button,
  .news-crud .news-actions-bottom .btn {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    padding: 0.55rem 0.9rem;
    font-size: 13px;
    border-radius: 10px !important;
  }
}

[data-bs-theme="dark"] .news-crud .news-gradient-btn,
[data-bs-theme="dark"] .news-crud .news-gradient-btn:hover,
[data-bs-theme="dark"] .news-crud .news-gradient-btn:focus {
  background: linear-gradient(135deg, #E91E8C 0%, #9B51E0 50%, #2E5BFF 100%) !important;
  border: 0 !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 24px rgba(233, 30, 140, 0.35), 0 4px 12px rgba(46, 91, 255, 0.25) !important;
}
