body, .app-default {
    background-color: #F6F6F6 !important;
}

.app-header {
    background-color: #F6F6F6 !important;
}

.app-sidebar {
    background-color: #F6F6F6 !important;
}

/* Tooltip del sidebar minimizado: z-index por encima del sidebar fijo (105) */
.app-sidebar .tooltip {
    z-index: 110;
}

[data-kt-app-sidebar-minimize=on] .app-sidebar {
    overflow: hidden;
}

/* Corrige el width del wrapper al ancho real del sidebar minimizado (90px).
   El bundle fuerza 280px (width-actual), lo que desplaza los íconos fuera
   del área visible cuando el sidebar está colapsado. */
[data-kt-app-sidebar-minimize=on] .app-sidebar .app-sidebar-wrapper {
    width: 100% !important;
}

.menu-active-bg .menu-item .menu-link.active {
    background-color: #ebebeb !important;
    box-shadow: inset 2px 0 0 #E70C75 !important;
    border-radius: 6px !important;
}

.menu-link:hover {
    background-color: #ebebeb !important;
}

.menu-active-primary .menu-item .menu-link.active {
    background-color: #ebebeb !important;
    box-shadow: inset 2px 0 0 #E70C75 !important;
    border-radius: 6px !important;
}

.w-5 {
    width: 5% !important;
}

.w-10 {
    width: 10% !important;
}
.w-15 {
    width: 15% !important;
}
.w-20 {
    width: 20% !important;
}

.w-30 {
    width: 30% !important;
}

.w-35 {
    width: 35% !important;
}
.w-40 {
    width: 40% !important;
}
.w-48{ width:48% !important;}

.w-60 {
    width: 60% !important;
}
.w-70 {
    width: 70% !important;
}

.end-10{ right:10% !important;}
.end-15{ right:15% !important;}

.text-justify {
    text-align: justify !important;
}

.text-blue {
    color: #009ef7;
}
.bg-light-primary {
    background-color: #fae7ef !important;
}

.badge-blue {
    color: #ffffff;
    background-color: #009ef7;
}

.badge-light-blue {
    color: #009ef7;
    background-color: #f1faff;
}

.btn-check:checked + .btn, :not(.btn-check) + .btn:active, .btn:first-child:active, .btn.active, .btn.show {
    color: #fff;
}
.btn.btn-active-light-primary:focus:not(.btn-active), .btn.btn-active-light-primary:hover:not(.btn-active), .btn.btn-active-light-primary.active {
    background-color: #fae7ef !important;
}
/*#faddea*/







#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff7a;
    z-index: 1100;
    width: 100vw;
    height: 100vh;
    /*opacity: 0.5;*/
}

#loader {
    width: 100px;
    height: 100px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -50px 0 0 -50px;
}

/* ================================================================
   User Profile Dropdown
   ================================================================ */

.user-menu-toggle {
    cursor: pointer;
    padding: 5px 8px;
    border-radius: 8px;
    transition: background-color 0.15s ease;
}

.user-menu-toggle:hover {
    background-color: #ebebeb;
}

/* Anillo sobre el avatar — se activa al hacer hover o al abrir */
.user-avatar-ring img {
    border: 2px solid transparent;
    border-radius: 50%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.user-menu-toggle:hover .user-avatar-ring img,
.user-menu-trigger.open .user-avatar-ring img {
    border-color: #E70C75;
    box-shadow: 0 0 0 3px rgba(231, 12, 117, 0.15);
}

/* Panel del dropdown */
.user-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    min-width: 240px;
    background-color: #ffffff;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    z-index: 1101;
    overflow: hidden;
}

.user-dropdown-menu.show {
    display: block;
    animation: userDropdownIn 0.18s ease;
}

@keyframes userDropdownIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Cola/flecha tooltip apuntando al avatar */
.user-dropdown-arrow {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 16px;
    width: 0;
    height: 0;
    z-index: 1102;
}

.user-dropdown-arrow::before,
.user-dropdown-arrow::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Triángulo exterior — simula el borde */
.user-dropdown-arrow::before {
    top: -1px;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 9px solid rgba(0, 0, 0, 0.09);
}

/* Triángulo interior — mismo color que la cabecera del dropdown */
.user-dropdown-arrow::after {
    top: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fdf5f9;
}

.user-menu-trigger.open .user-dropdown-arrow {
    display: block;
}

/* Header del dropdown */
.user-dropdown-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    background-color: #fdf5f9;
}

/* Items del dropdown */
.user-dropdown-item {
    text-decoration: none;
    border-radius: 6px;
    margin: 2px 8px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.user-dropdown-item:hover {
    background-color: #fae7ef;
    color: #E70C75 !important;
}

.user-dropdown-item:hover .ki-outline {
    color: #E70C75 !important;
}

#loaderText {
    width: 100px;
    height: 10px;
    position: absolute;
    left: 50%;
    top: 62%;
    margin: -50px 0 0 -50px;
    text-align: center;
    font-weight: 700;
}