/* ============================================================
   ESTILO "BLACK & PALO ROSA BEAUTY" PARA SORAY AESTHETIC
   ============================================================ */

/* 1. LIMPIEZA TOTAL DEL MENÚ IZQUIERDO (Ocultar lo que no usas) */
.menu-item-leads, 
.menu-item-projects, 
.menu-item-tasks, 
.menu-item-support, 
.menu-item-knowledge-base, 
.menu-item-subscriptions, 
.menu-item-estimates, 
.menu-item-proposals,
.menu-item-expediente_clinico, 
.menu-item-expediente-clinico,
li:has(a[href*="expediente_clinico"]) { /* FRANCOTIRADOR: Adiós botón izquierdo */
    display: none !important;
}

/* 2. LIMPIEZA DENTRO DEL PERFIL DEL PACIENTE (Modo Francotirador Total) */
.customer-tabs .customer-profile-group-projects,
.customer-tabs .customer-profile-group-tasks,
.customer-tabs .customer-profile-group-tickets,
.customer-tabs .customer-profile-group-estimates,
.customer-tabs .customer-profile-group-proposals,
.customer-tabs .customer-profile-group-subscriptions,
.customer-tabs .customer-profile-group-payments,      
.customer-tabs .customer-profile-group-credit_notes,  
.customer-tabs .customer-profile-group-consentimientos,
li.customer-profile-group-payments, 
li.customer-profile-group-proposals, 
li.customer-profile-group-credit_notes, 
li.customer-profile-group-estimates, 
li.customer-profile-group-subscriptions, 
li.customer-profile-group-projects,
a[href*="group=payments"],
a[href*="group=proposals"],
a[href*="group=credit_notes"],
a[href*="group=estimates"],
a[href*="group=subscriptions"],
a[href*="group=projects"],
a[href*="group=consentimientos"] {
    display: none !important;
}

/* 3. ESTILO GENERAL Y FONDO (Nude muy suave y brillante) */
body, #wrapper, .content {
    background-color: #fdfaf9 !important;
}

/* 4. TARJETAS Y RECUADROS REDONDEADOS (Efecto Moderno) */
.tw-bg-white, .panel_s, .panel-body, .widget {
    border-radius: 20px !important;
    border: 1px solid rgba(223, 204, 204, 0.4) !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tw-bg-white:hover, .panel_s .panel-body:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.06) !important;
}

/* 5. TÍTULOS ELEGANTES */
h1, h2, h3, h4, .panel-title, .tw-text-neutral-800 {
    color: #111827 !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
}

/* 6. ACENTOS EN PALO ROSA Y NEGRO (Colores de la marca) */
.tw-text-neutral-500, .stat-amount {
    color: #d29ba1 !important; /* Palo Rosa elegante */
}

.btn-primary {
    background-color: #000000 !important;
    border-color: #000000 !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background-color: #222222 !important;
    transform: translateY(-1px);
}

/* 7. MENÚ LATERAL REFINADO (Sidebar) */
.admin #side-menu {
    background-color: #ffffff !important;
}

ul.nav > li > a {
    border-radius: 12px !important;
    margin: 4px 10px !important;
    transition: 0.3s all ease !important;
}

ul.nav > li > a:hover {
    background-color: #faf5f5 !important;
    color: #000000 !important;
}

ul.nav > li.active > a {
    background-color: #000000 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 6px rgba(210, 155, 161, 0.3) !important; /* Sombra sutil en Palo Rosa */
}

/* 8. WIDGETS DE GRÁFICOS (Ajuste de colores) */
.chart-container .chart-legend li span {
    background-color: #d29ba1 !important; /* Palo Rosa para las leyendas */
}
/* ============================================================
   ESTILO "MATERIO" PARA LA LÍNEA DE TIEMPO (ACTIVITY TIMELINE)
   ============================================================ */
.activity-feed {
    padding: 15px 15px 15px 25px !important;
}

/* La línea vertical suave */
.activity-feed .feed-item {
    border-left: 2px solid #f0e4e5 !important; 
    padding-bottom: 25px !important;
}

/* El punto elegante en cada actividad */
.activity-feed .feed-item:after {
    background: #d29ba1 !important; /* Punto Palo Rosa */
    border: 3px solid #fdfaf9 !important; /* Borde blanco para separar */
    width: 14px !important;
    height: 14px !important;
    left: -8px !important;
    top: -2px !important;
    box-shadow: 0 2px 5px rgba(210, 155, 161, 0.4) !important; /* Sombra sutil brillante */
}

/* Fecha y texto más limpios */
.activity-feed .feed-item .date {
    color: #d29ba1 !important;
    font-weight: 600 !important;
    font-size: 11px !important;
    letter-spacing: 0.5px !important;
}

.activity-feed .feed-item .text {
    font-size: 13.5px !important;
    color: #4b5563 !important;
    margin-top: 4px !important;
}

/* Ocultar el texto de "No hay actividades" si está vacío, para que se vea limpio */
.activity-feed p.text-muted {
    font-style: italic;
    color: #9ca3af !important;
}