/* ========================================
   CosmoFE - Estilos Personalizados - Dark Mode
   ======================================== */

/* Ocultar flecha del SplitButton */
.rz-splitbutton-menubutton {
	display: none !important;
}

/* Variables globales - Dark Theme */
:root {
	--rz-base-background-color: #1a2133 !important;
	--rz-body-background-color: #1a2133 !important;
	--rz-text-color: #e2e8f0 !important;
	--rz-text-secondary-color: #94a3b8 !important;
	--rz-border-color: rgba(255, 255, 255, 0.1) !important;
	--rz-sidebar-width: 0px;
	--sidebar-width: 260px;
	--rz-border-radius: 8px;
	--dark-bg: #1a2133;
	--dark-surface: #212d42;
	--dark-surface-2: #2a3650;
	--dark-border: rgba(255, 255, 255, 0.1);
	--dark-text: #e2e8f0;
	--dark-text-secondary: #94a3b8;
}

html, body {
	background-color: var(--dark-bg) !important;
	color: var(--dark-text) !important;
}


.header-logo-circle {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8)) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6));
}

.header-center-brand {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 0.5rem;
	pointer-events: none;
}

.app-name-chip {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	padding: 0 0.5rem;
	height: 36px;
	background: transparent;
	border: none;
	border-radius: 0;
	box-shadow: none;
}

.app-name-chip .header-title,
.app-name-chip .rz-text {
	line-height: 1 !important;
	margin: 0 !important;
	padding: 0 !important;
	align-self: center;
}

.app-name-chip .header-logo-circle {
	align-self: center;
	display: flex;
	align-items: center;
}

.header-divider {
	width: 1px;
	height: 22px;
	background: rgba(255, 255, 255, 0.3);
	align-self: center;
	flex-shrink: 0;
}

.header-razon-chip {
	display: flex;
	align-items: center;
	align-self: center;
	color: #ffffff;
	opacity: 1;
}

/* Profile dropdown personalizado */
.profile-dropdown {
	position: relative;
	height: 40px;
	display: flex;
	align-items: center;
}

.profile-btn {
	background: transparent;
	border: none;
	border-radius: 0;
	cursor: pointer;
	padding: 0 0.5rem;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	box-shadow: none;
	color: #ffffff;
	font-size: 0.9rem;
	transition: opacity 0.15s ease;
}

.profile-btn:hover {
	opacity: 0.75;
}

.profile-btn .material-symbols-outlined {
	font-size: 1.4rem;
	color: #ffffff;
}

.profile-popup {
	position: absolute;
	top: 40px;
	right: 0;
	background: var(--dark-surface);
	border: 1px solid var(--dark-border);
	border-radius: 6px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
	min-width: 200px;
	z-index: 1000;
	padding: 0.25rem 0;
}

.profile-popup-item {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.6rem 1rem;
	color: var(--dark-text);
	text-decoration: none;
	font-size: 13px;
	cursor: pointer;
	transition: background 0.15s ease;
}

.profile-popup-item:hover:not(.disabled) {
	background: rgba(255, 255, 255, 0.06);
}

.profile-popup-item.disabled {
	cursor: default;
	font-weight: 600;
	opacity: 0.8;
}

.profile-popup-item .material-symbols-outlined {
	font-size: 18px;
	color: var(--dark-text-secondary);
}

/* ========================================
   Sidebar - position:fixed, siempre visible en desktop
   ======================================== */
.app-sidebar {
	position: fixed;
	left: 0;
	top: 0;
	bottom: 0;
	width: var(--sidebar-width);
	background: #1a2840;
	border-right: 1px solid rgba(255, 255, 255, 0.08);
	z-index: 150;
	overflow: hidden;
	box-shadow: none;
	display: flex;
	flex-direction: column;
}

/* Scrollbar del sidebar */
.app-sidebar::-webkit-scrollbar { width: 4px; }
.app-sidebar::-webkit-scrollbar-track { background: transparent; }
.app-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 4px; }

/* Offset del contenido para dar espacio al sidebar fijo */
.content-offset {
	margin-left: var(--sidebar-width);
	padding: 1.5rem 2rem 2.5rem;
}

.sidebar-brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.3rem;
	padding: 1.5rem 1rem 1.25rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	text-align: center;
}

.sidebar-brand-logo {
	height: 3rem;
	width: auto;
	margin-bottom: 0.4rem;
}

.sidebar-brand-name {
	font-size: 1.2rem;
	font-weight: 700;
	color: #e8f4fb;
	letter-spacing: 0.02em;
	line-height: 1;
}

.sidebar-brand-subtitle {
	font-size: 0.72rem;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.55);
	letter-spacing: 0.01em;
	line-height: 1.3;
}

.sidebar-brand-divider {
	width: 60%;
	height: 1px;
	background: rgba(255, 255, 255, 0.15);
	margin: 0.4rem 0;
}

.sidebar-brand-t4 {
	font-size: 0.78rem;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.55);
	line-height: 1.3;
}

.sidebar-brand-company {
	font-size: 1.2rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.3;
	margin-top: 0.15rem;
}


.sidebar-nav {
	list-style: none;
	margin: 0;
	padding: 0.75rem 0.5rem;
	width: 100%;
	flex: 1;
	overflow-y: auto;
	overflow-x: hidden;
}

.sidebar-footer {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 0.6rem 0.75rem;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.5rem;
	background: rgba(255, 255, 255, 0.06);
}

.sidebar-footer-user {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex: 1;
	min-width: 0;
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.8rem;
}

.sidebar-footer-user .material-symbols-outlined {
	font-size: 1.3rem;
	flex-shrink: 0;
}

.sidebar-footer-username {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sidebar-footer-logout {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.35rem;
	border-radius: 6px;
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	flex-shrink: 0;
	transition: background 0.15s ease, color 0.15s ease;
}

.sidebar-footer-logout:hover {
	background: rgba(239, 68, 68, 0.15);
	color: #fca5a5;
}

.sidebar-footer-logout .material-symbols-outlined {
	font-size: 1.3rem;
}

/* Separador de sección */
.sidebar-nav .nav-section {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.4);
	padding: 1rem 0.75rem 0.35rem;
	user-select: none;
}

.sidebar-nav .nav-item {
	position: relative;
	width: 100%;
	display: block;
	margin-bottom: 2px;
}

.sidebar-nav .nav-link {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.75rem;
	padding: 0.65rem 0.85rem;
	border-radius: 10px;
	width: 100%;
	box-sizing: border-box;
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
	cursor: pointer;
	transition: background 0.18s ease, color 0.18s ease;
	white-space: nowrap;
}

.sidebar-nav .nav-link .rzi,
.sidebar-nav .nav-link .rz-icon {
	font-size: 1.25rem;
	line-height: 1;
	flex-shrink: 0;
	color: rgba(255, 255, 255, 0.8) !important;
	transition: color 0.18s ease;
}

.sidebar-nav .nav-text {
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: rgba(255, 255, 255, 0.95);
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.sidebar-nav .nav-link:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
}

.sidebar-nav .nav-link:hover .rz-icon {
	color: #ffffff !important;
}

.sidebar-nav .nav-item.active > .nav-link {
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
	font-weight: 600;
	box-shadow: none;
	border-bottom: none;
}

.sidebar-nav .nav-item.has-submenu > .nav-link {
	background: rgba(255, 255, 255, 0.07);
	color: #ffffff;
	font-weight: 600;
	border-radius: 0 !important;
	margin: 0 -0.5rem;
	padding-left: 1.35rem;
	padding-right: 1.35rem;
	width: calc(100% + 1rem);
}

.sidebar-nav .nav-item.active > .nav-link .rz-icon {
	color: #ffffff !important;
	filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.5));
}

/* Items deshabilitados en produccion */
.sidebar-nav .nav-item.nav-item-disabled > .nav-link {
	opacity: 0.45;
	cursor: not-allowed;
	pointer-events: none;
}

.nav-prod-badge {
	font-size: 0.58rem;
	background: #e53935;
	color: #fff;
	padding: 1px 5px;
	border-radius: 3px;
	margin-left: auto;
	font-weight: 700;
	letter-spacing: 0.03em;
	white-space: nowrap;
	flex-shrink: 0;
}

/* Submenús - siempre expandidos */
.sidebar-nav .submenu {
	list-style: none;
	margin: 2px 0 4px 0;
	padding: 0 0 2px 0;
}

.sidebar-nav .submenu li a {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.85rem 0.5rem 0.75rem;
	border-radius: 8px;
	color: rgba(255, 255, 255, 0.95);
	text-decoration: none;
	font-size: 15px;
	font-weight: 600;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
	transition: background 0.15s ease, color 0.15s ease;
}

.sidebar-nav .submenu li a:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
}

.sidebar-nav li.nav-divider {
	height: 1px;
	background: rgba(255, 255, 255, 0.1);
	margin: 0.4rem 0.75rem;
	list-style: none;
}

.sidebar-nav .submenu li.submenu-divider {
	height: 1px;
	background: rgba(255, 255, 255, 0.15);
	margin: 4px -0.5rem;
	pointer-events: none;
}


/* Botón hamburguesa - solo mobile */
.mobile-menu-btn {
	display: none;
	background: rgba(255, 255, 255, 0.1);
	border: none;
	border-radius: 8px;
	cursor: pointer;
	color: #ffffff;
	padding: 0.3rem;
	margin-right: 0.5rem;
	align-items: center;
	justify-content: center;
	transition: background 0.15s ease;
}

.mobile-menu-btn:hover {
	background: rgba(255, 255, 255, 0.2);
}

.mobile-menu-btn .material-symbols-outlined {
	font-size: 1.5rem;
}

/* Overlay mobile */
.sidebar-overlay {
	display: none;
}

/* ========================================
   Radzen Layout
   ======================================== */
.rz-layout {
	background-color: var(--dark-bg) !important;
	grid-template-columns: 1fr !important;
}


/* ========================================
   Body
   ======================================== */
.rz-body {
	background-color: var(--dark-bg) !important;
	grid-area: unset !important;
	grid-column: 1 !important;
}

.body-content {
	background-color: var(--dark-bg) !important;
	min-height: 100vh;
	padding: 0 !important;
}

/* ========================================
   Footer
   ======================================== */
.rz-footer {
	display: none !important;
}

.app-footer {
	position: fixed;
	bottom: 0;
	left: var(--sidebar-width);
	right: 0;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.5rem;
	padding: 0.35rem 2rem;
	font-size: 0.72rem;
	color: rgba(255, 255, 255, 0.3);
	background-color: var(--dark-bg);
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	z-index: 50;
}

.app-footer-sep {
	opacity: 0.4;
}

/* ========================================
   Titulos de paginas
   ======================================== */
.body-content h1,
.body-content .rz-text-h4,
.body-content .rz-text-h5 {
	font-size: 1.35rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.01em;
	color: var(--dark-text) !important;
	display: flex !important;
	align-items: center !important;
	gap: 0.5rem !important;
	padding-bottom: 0.75rem !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
	margin-bottom: 0.25rem !important;
}

.body-content h1 .rz-icon,
.body-content .rz-text-h4 .rz-icon,
.body-content .rz-text-h5 .rz-icon {
	font-size: 1.5rem !important;
	line-height: 1 !important;
	flex-shrink: 0;
}

/* ========================================
   Componentes
   ======================================== */

/* Toolbar container */
.toolbar-container {
	background: var(--dark-surface);
	border: 1px solid var(--dark-border);
	border-radius: var(--rz-border-radius);
}

/* ========================================
   RadzenCard
   ======================================== */
.rz-card {
	box-shadow: none !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 0 !important;
	background: transparent !important;
}

/* ========================================
   Dashboard - Graficos y KPI cards
   ======================================== */
.dashboard-chart-card {
	border: 1px solid var(--dark-border);
	border-radius: 8px;
	padding: 1rem;
	background: var(--dark-surface);
}

/* KPI cards del dashboard */
.rz-background-color-info-lighter,
.rz-background-color-primary-lighter,
.rz-background-color-success-lighter,
.rz-background-color-danger-lighter {
	border: 1px solid var(--dark-border) !important;
	border-radius: 8px !important;
	padding: 0.75rem !important;
}

/* ========================================
   Filter Tags
   ======================================== */
.filter-tag {
	display: inline-block;
	padding: 0.2rem 0.65rem;
	font-size: 12px;
	font-weight: 500;
	border-radius: 20px;
	cursor: pointer;
	transition: all 0.15s ease;
	color: var(--tag-color);
	background: var(--tag-bg);
	border: 1px solid var(--tag-color);
	user-select: none;
}

.filter-tag:hover {
	opacity: 0.85;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.filter-tag.active {
	background: var(--tag-active-bg);
	color: #ffffff;
	border-color: var(--tag-active-bg);
}

/* ========================================
   RadzenDataGrid - Dark Mode
   ======================================== */

/* Contenedor con borde */
.rz-data-grid {
	border: 1px solid var(--dark-border) !important;
	background-color: var(--dark-surface) !important;
	border-radius: 8px;
	overflow: hidden;
}

.rz-datatable,
.rz-grid-table {
	background-color: var(--dark-surface) !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
}

/* Header limpio */
.rz-datatable .rz-datatable-thead > tr > th,
.rz-grid-table thead th {
	background: #1a5fa0 !important;
	color: #ffffff !important;
	font-weight: 600;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	border: none !important;
	padding: 0.85rem 1rem !important;
}

.rz-datatable .rz-datatable-thead > tr > th .rz-column-title,
.rz-grid-table thead th .rz-column-title {
	color: #ffffff !important;
}

.rz-datatable .rz-datatable-thead > tr > th .rz-sortable-column-icon,
.rz-grid-table thead th .rz-sortable-column-icon {
	display: none !important;
}

/* Filas */
.rz-datatable .rz-datatable-tbody > tr > td,
.rz-grid-table tbody td {
	padding: 0.85rem 1rem !important;
	min-height: 50px;
	border: none !important;
	border-bottom: 1px solid var(--dark-border) !important;
	background-color: var(--dark-surface) !important;
	font-size: 13px;
	color: var(--dark-text) !important;
}

/* Sin alternate row color */
.rz-datatable .rz-datatable-tbody > tr:nth-child(even) > td,
.rz-grid-table tbody tr:nth-child(even) td {
	background-color: var(--dark-surface) !important;
}

/* Columnas frozen (sticky) */
.rz-grid-table tbody td[style*="position: sticky"],
.rz-grid-table tbody td[style*="position:sticky"] {
	background-color: var(--dark-surface) !important;
}

.rz-grid-table tbody tr:hover td[style*="position: sticky"],
.rz-grid-table tbody tr:hover td[style*="position:sticky"] {
	background-color: var(--dark-surface-2) !important;
}

.rz-grid-table thead th[style*="position: sticky"],
.rz-grid-table thead th[style*="position:sticky"] {
	background-color: #1a5fa0 !important;
}

/* Hover suave */
.rz-datatable .rz-datatable-tbody > tr:hover > td,
.rz-grid-table tbody tr:hover td {
	background-color: var(--dark-surface-2) !important;
}

/* Bordes redondeados header */
.rz-datatable .rz-datatable-thead > tr > th:first-child,
.rz-grid-table thead th:first-child {
	border-radius: 8px 0 0 0;
}

.rz-datatable .rz-datatable-thead > tr > th:last-child,
.rz-grid-table thead th:last-child {
	border-radius: 0 8px 0 0;
}

/* Borde inferior del header */
.rz-datatable .rz-datatable-thead > tr > th,
.rz-grid-table thead th {
	border-bottom: 1px solid rgba(255,255,255,0.1) !important;
}

/* Eliminar bordes internos */
.rz-cell-data,
.rz-datatable .rz-datatable-tbody > tr,
.rz-grid-table tbody tr,
.rz-datatable .rz-datatable-thead > tr,
.rz-grid-table thead tr {
	border: none !important;
}

/* Paginador */
.rz-data-grid .rz-paginator-bottom {
	border-top: 1px solid var(--dark-border) !important;
	background: var(--dark-surface) !important;
	padding: 0.5rem 0 !important;
}

/* Filtros */
.rz-data-grid .rz-grid-filter {
	border: none !important;
	background: var(--dark-surface) !important;
}

/* ========================================
   Controles - Botones, Inputs, Forms
   ======================================== */

/* Botones */
.rz-button {
	border-radius: 8px !important;
	font-weight: 500 !important;
	letter-spacing: 0.02em;
	transition: box-shadow 0.15s ease, transform 0.1s ease !important;
}

.rz-button:not(:disabled):not(.rz-button-icon-only):hover {
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4) !important;
	transform: translateY(-1px);
}

.rz-button:not(:disabled):not(.rz-button-icon-only):active {
	transform: translateY(0);
}

/* Inputs standalone */
.rz-textbox:not(.rz-form-field *),
.rz-input:not(.rz-form-field *),
input.rz-inputtext:not(.rz-form-field *),
textarea.rz-inputtextarea:not(.rz-form-field *) {
	border-radius: 8px !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	background-color: var(--dark-surface) !important;
	color: var(--dark-text) !important;
	transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

.rz-textbox:focus,
.rz-input:focus,
input.rz-inputtext:focus,
textarea.rz-inputtextarea:focus {
	box-shadow: 0 0 0 3px rgba(40, 129, 197, 0.25) !important;
	outline: none !important;
	border-color: #2881c5 !important;
}

/* RadzenFormField outlined */
.rz-form-field fieldset,
.rz-form-field-outlined fieldset {
	border-radius: 8px !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

.rz-form-field:focus-within fieldset,
.rz-form-field-outlined:focus-within fieldset {
	border-color: #2881c5 !important;
	box-shadow: 0 0 0 3px rgba(40, 129, 197, 0.25) !important;
}

/* Labels en FormField */
.rz-form-field label,
.rz-form-field-outlined label {
	color: var(--dark-text-secondary) !important;
}

/* Inputs dentro de FormField */
.rz-form-field .rz-textbox,
.rz-form-field .rz-input,
.rz-form-field input.rz-inputtext,
.rz-form-field textarea.rz-inputtextarea,
.rz-form-field .rz-dropdown,
.rz-form-field .rz-password {
	border: none !important;
	box-shadow: none !important;
	background: transparent !important;
	color: var(--dark-text) !important;
}

/* Dropdowns standalone */
.rz-dropdown:not(.rz-form-field *),
.rz-autocomplete:not(.rz-form-field *) {
	border-radius: 8px !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	background-color: var(--dark-surface) !important;
	color: var(--dark-text) !important;
}

/* Panel flotante del dropdown */
.rz-dropdown-panel,
.rz-select-panel,
.rz-autocomplete-panel {
	border-radius: 10px !important;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
	border: 1px solid var(--dark-border) !important;
	background-color: var(--dark-surface) !important;
	overflow: hidden;
}

.rz-dropdown-panel .rz-dropdown-item,
.rz-select-panel .rz-dropdown-item {
	color: var(--dark-text) !important;
}

.rz-dropdown-panel .rz-dropdown-item:hover,
.rz-select-panel .rz-dropdown-item:hover {
	background-color: var(--dark-surface-2) !important;
}

/* Checkboxes y radios */
.rz-checkbox .rz-checkbox-box,
.rz-radiobutton .rz-radiobutton-box {
	border-radius: 5px !important;
	border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
	background-color: var(--dark-surface) !important;
	transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

.rz-radiobutton .rz-radiobutton-box {
	border-radius: 50% !important;
}

/* Badges */
.rz-badge {
	border-radius: 20px !important;
	font-weight: 600 !important;
	padding: 0.2rem 0.65rem !important;
	font-size: 11px !important;
	letter-spacing: 0.03em;
}

/* Alerts */
.rz-alert {
	border-radius: 10px !important;
	border: none !important;
}

/* Dialog */
.rz-dialog {
	border-radius: 14px !important;
	overflow: hidden !important;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6) !important;
	background-color: var(--dark-surface) !important;
}

.rz-dialog-titlebar {
	border-radius: 14px 14px 0 0 !important;
	background-color: var(--dark-surface-2) !important;
	border-bottom: 1px solid var(--dark-border) !important;
}

.rz-dialog-content {
	background-color: var(--dark-surface) !important;
	color: var(--dark-text) !important;
}

.rz-dialog-footer {
	background-color: var(--dark-surface) !important;
	border-top: 1px solid var(--dark-border) !important;
}

/* Overlay del dialog */
.rz-overlay {
	background-color: rgba(0, 0, 0, 0.7) !important;
}

/* Paginador */
.rz-paginator .rz-paginator-page,
.rz-paginator .rz-paginator-first,
.rz-paginator .rz-paginator-last,
.rz-paginator .rz-paginator-prev,
.rz-paginator .rz-paginator-next {
	border-radius: 8px !important;
}

/* Progress bar */
.rz-progressbar {
	border-radius: 20px !important;
	background-color: var(--dark-surface-2) !important;
}

.rz-progressbar-value {
	border-radius: 20px !important;
}

/* Tabs */
.rz-tabview-nav li .rz-tabview-nav-link {
	border-radius: 8px 8px 0 0 !important;
}

.rz-tabview-panels {
	background-color: var(--dark-surface) !important;
}

/* Tablas y textos globales Radzen */
.rz-text,
.rz-text-body1,
.rz-text-body2,
.rz-text-caption,
.rz-text-overline {
	color: var(--dark-text) !important;
}

/* ========================================
   Responsive - Mobile
   ======================================== */
@media (max-width: 768px) {
	.mobile-menu-btn {
		display: flex;
	}

	.app-sidebar {
		transform: translateX(-100%);
		transition: transform 0.25s ease;
		z-index: 300;
	}

	.app-sidebar.sidebar-mobile-open {
		transform: translateX(0);
	}

	.sidebar-overlay {
		display: block;
		position: fixed;
		inset: 0;
		background: rgba(0, 0, 0, 0.65);
		z-index: 299;
		backdrop-filter: blur(2px);
	}

	.content-offset {
		margin-left: 0;
	}
}
