/* -----------------------------------------------------------------------------
 * ADMIN TEMPLATE | WOO Admin Template
 * --------------------------------------
 * version       : your
 * copyright     : your
 * contact       : your
 * 
 * -----------------------------------------------------------------------------
 * ADMIN TEMPLATE - CUSTOM STYLE
 * ----------------------------------------------------------------------------- 
 */
.eventosinconfirmar{
  border-right: 5px solid #1b4b8a;
}
.eventoconfirmado{
  border-right: 5px solid #3561ff;
}
.eventoengabinete{
  border-right: 5px solid #1b4b8a;
}
.eventocancelado{
  border-right: 5px solid #ff9c16;
}
.eventonosepresenta{
  border-right: 5px solid #ab0000;
}
/* 
 * -----------------------------------------------------------------------------
 * TASKS 
 * ----------------------------------------------------------------------------- 
 */
/* 
 * -----------------------------------------------------------------------------
 * TASKS 
 * ----------------------------------------------------------------------------- 
 */
.task-icon {
  float: right;
  font-size: 2em;
  line-height: 0.5em;
  padding: 2px;
  margin-left: .25em;
}
.task-header > ul {
  border-top: 3px solid rgba(0, 0, 0, 0.06);
  padding: 0;
  margin-bottom: 0;
  list-style: none;
  font-size: 13px;
}
.task-header > ul:before,
.task-header > ul:after {
  content: " ";
  display: table;
}
.task-header > ul:after {
  clear: both;
}
.task-header > ul > li {
  float: left;
  padding-left: 10px;
  padding-right: 10px;
  line-height: 34px;
  border-left: 1px solid rgba(255, 255, 255, 0.4);
}
.task-header > ul > li:first-child {
  border-left: none;
}
.task-header > ul > li time {
  font-weight: 600;
}
.task-header > ul > li small {
  color: inherit;
  font-size: 75%;
}
.task-header > ul > li.description {
  width: -webkit-calc(100% - 160px);
  width: -moz-calc(100% - 160px);
  width: calc(100% - 160px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.task-header > ul > li.icon {
  float: right;
  padding: 0;
  text-align: center;
  color: inherit;
  font-size: 1.4em;
  width: 34px;
  height: 34px;
  background-image: url("../img/background/translucent/grays/translucent3.png");
}
.task-body {
  padding: 10px 15px;
  overflow: hidden;
}
.task-body .title {
  margin: 0;
  font-weight: 600;
}
.task-body .title .description {
  margin-top: 5px;
}
.task-body .description {
  margin-bottom: 0;
  font-size: .85em;
  line-height: 1.2em;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.task-default .task-header {
  color: #444444;
  background-color: #ededed;
}
.task-default .task-body {
  background-color: #fcfcfc;
}
.task-default .task-icon,
.task-default .task-body p {
  color: #888888;
}
.task-primary .task-header {
  color: #ffffff;
  background-color: #2f87c1;
}
.task-primary .task-body {
  background-color: #e0edf6;
}
.task-primary .task-icon,
.task-primary .task-body p {
  color: #2f87c1;
}
.task-success .task-header {
  color: #ffffff;
  background-color: #5cb85c;
}
.task-success .task-body {
  background-color: #def1de;
}
.task-success .task-icon,
.task-success .task-body p {
  color: #5cb85c;
}
.task-info .task-header {
  color: #ffffff;
  background-color: #5bc0de;
}
.task-info .task-body {
  background-color: #e6f6fa;
}
.task-info .task-icon,
.task-info .task-body p {
  color: #5bc0de;
}
.task-warning .task-header {
  color: #ffffff;
  background-color: #f0ad4e;
}
.task-warning .task-body {
  background-color: #fdf3e4;
}
.task-warning .task-icon,
.task-warning .task-body p {
  color: #f0ad4e;
}
.task-danger .task-header {
  color: #ffffff;
  background-color: #d9534f;
}
.task-danger .task-body {
  background-color: #f9e5e5;
}
.task-danger .task-icon,
.task-danger .task-body p {
  color: #d9534f;
}
.lined-paper-bg {
  padding: 27px 10px 0 5px;
  position: relative;
  color: #444;
  line-height: 28px;
  border: 1px solid transparent;
  border-left: 20px solid #ffffff;
  background: #ffffff;
  background: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(0, 0, 0, 0.15)), color-stop(6%, #ffffff)) 0 26px;
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.15) 0%, #ffffff 6%) 0 26px;
  background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.15) 0%, #ffffff 6%) 0 26px;
  background: -ms-linear-gradient(top, rgba(0, 0, 0, 0.15) 0%, #ffffff 6%) 0 26px;
  background: -o-linear-gradient(top, rgba(0, 0, 0, 0.15) 0%, #ffffff 6%) 0 26px;
  background: linear-gradient(top, rgba(0, 0, 0, 0.15) 0%, #ffffff 6%) 0 26px;
  -webkit-background-size: 100% 28px;
  -moz-background-size: 100% 28px;
  -o-background-size: 100% 28px;
  background-size: 100% 28px;
}
.lined-paper-bg:focus {
  border-color: #ffffff;
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.lined-paper-bg:focus,
.lined-paper-bg > *:focus {
  outline: 0;
}
.xlined-paper::before {
  content: '';
  position: absolute;
  width: 4px;
  top: 0;
  left: 30px;
  bottom: 0;
  border: 1px solid;
  border-color: transparent #efe4e4;
}
.shadow-out-left {
  -webkit-box-shadow: -3px 0 3px -1px rgba(0, 0, 0, 0.125);
  box-shadow: -3px 0 3px -1px rgba(0, 0, 0, 0.125);
}
.shadow-out-right {
  -webkit-box-shadow: 3px 0 3px -1px rgba(0, 0, 0, 0.125);
  box-shadow: 3px 0 3px -1px rgba(0, 0, 0, 0.125);
}
.shadow-in-left {
  -webkit-box-shadow: inset 3px 0px 3px -1px rgba(0, 0, 0, 0.125);
  box-shadow: inset 3px 0px 3px -1px rgba(0, 0, 0, 0.125);
}
.shadow-in-right {
  -webkit-box-shadow: inset -3px 0px 3px -1px rgba(0, 0, 0, 0.125);
  box-shadow: inset -3px 0px 3px -1px rgba(0, 0, 0, 0.125);
}
.color-sample-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}
.color-sample-list:before,
.color-sample-list:after {
  content: " ";
  display: table;
}
.color-sample-list:after {
  clear: both;
}
.color-sample-list > li {
  position: relative;
  padding: 15px 15px;
}
.color-sample-list > li:first-child {
  margin-bottom: 10px;
}
.color-sample-list > li h4 {
  margin-top: 0;
  text-transform: uppercase;
  font-size: 15px;
}
.color-sample-list > li .color {
  float: right;
  font-size: 12px;
  z-index: 1;
  opacity: 0.3;
  filter: alpha(opacity=30);
}
.color-sample-list > li:hover .color {
  display: block;
  opacity: 1;
  filter: alpha(opacity=100);
}
.palette-small .color-sample-list > li {
  float: left;
  width: 120px;
  height: 120px;
}
.palette-large .color-sample-list > li {
  float: left;
  width: 120px;
  height: 320px;
}
.palette-small .color-sample-list > li,
.palette-large .color-sample-list > li {
  float: left;
}
.palette-small .color-sample-list > li .color,
.palette-large .color-sample-list > li .color {
  display: block;
  position: absolute;
  right: 15px;
  bottom: 15px;
}
.character-label {
  display: block;
  padding: 5px 15px 3px 15px;
  margin-top: 5px;
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.42857143;
  background-image: url("../img/background/translucent/grays/translucent10.png");
}
.higlight-shadow-in {
  -webkit-box-shadow: inset 0 4px 4px -3px rgba(0, 0, 0, 0.175);
  box-shadow: inset 0 4px 4px -3px rgba(0, 0, 0, 0.175);
}
.appsidebar-pinned .navbar-header {
  min-width: 192px;
}
.appsidebar-pinned .navbar-header.wide {
  min-width: 260px;
}
.circle-icon {
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 28px;
  border: 2px solid #B4BBC1;
  border-radius: 100px;
  font-size: 14px;
  color: #B4BBC1;
  cursor: pointer;
  display: block;
  float: left;
}
.circle-icon.small {
  height: 25px;
  width: 25px;
  line-height: 23px;
  font-size: 11px;
}
.circle-icon:hover {
  color: #57636C;
  border-color: #57636C;
}
.circle-icon.red {
  color: #d23b3d;
  border-color: #d23b3d;
}
.circle-icon.red:hover {
  color: #791C1E;
  border-color: #791C1E;
}
.load-more-link {
  display: block;
  text-align: center;
  margin: 30px 0 100px 0;
}
.sidenav.affix {
  position: static;
}
.xsidenav {
  margin-top: 20px;
  margin-bottom: 20px;
}
.xsidenav .nav > li > a {
  display: block;
  padding: 4px 20px;
  font-weight: 400;
  color: #888888;
}
.xsidenav .nav > li > a:hover,
.xsidenav .nav > li > a:focus {
  padding-left: 17px;
  color: #563d7c;
  text-decoration: none;
  background-color: transparent;
  border-left: 3px solid #c8c8c8;
}
.xsidenav .nav > li.active > a,
.xsidenav .nav > li.active > a:hover,
.xsidenav .nav > li.active > a:focus {
  padding-left: 17px;
  font-weight: 700;
  color: #563d7c;
  background-color: transparent;
  border-left: 3px solid #563d7c;
}
.xsidenav .nav .nav {
  display: none;
  padding-bottom: 10px;
}
.xsidenav .nav .nav > li > a {
  padding-top: 1px;
  padding-bottom: 1px;
  padding-left: 30px;
  font-size: 12px;
  font-weight: 400;
}
.xsidenav .nav .nav > li > a:hover,
.xsidenav .nav .nav > li > a:focus {
  padding-left: 29px;
}
.xsidenav .nav .nav > li.active > a,
.xsidenav .nav .nav > li.active > a:hover,
.xsidenav .nav .nav > li.active > a:focus {
  padding-left: 28px;
  font-weight: 500;
}
.sidenav {
  margin-top: 20px;
  margin-bottom: 20px;
}
.sidenav .nav > li > a {
  padding: 6px 15px;
  color: #888888;
}
.sidenav .nav > li > a:hover,
.sidenav .nav > li > a:focus {
  text-decoration: none;
}
.sidenav .nav > li.active > a,
.sidenav .nav > li.active > a:hover,
.sidenav .nav > li.active > a:focus {
  font-weight: 700;
  color: #d9534f;
}
.sidenav .nav .nav {
  display: none;
  padding-bottom: 10px;
}
.sidenav .nav .nav > li > a {
  padding-top: 1px;
  padding-bottom: 1px;
  padding-left: 30px;
  font-size: 12px;
  font-weight: 400;
}
.sidenav .nav .nav > li > a:hover,
.sidenav .nav .nav > li > a:focus {
  padding-left: 29px;
}
.sidenav .nav .nav > li.active > a,
.sidenav .nav .nav > li.active > a:hover,
.sidenav .nav .nav > li.active > a:focus {
  padding-left: 28px;
  font-weight: 500;
}
.sidenav-small .nav > li > a {
  padding: 3px 15px;
  font-size: 13px;
}
.widget-nav .nav > li {
  border-bottom: 1px solid;
}
.widget-nav .nav > li > a {
  padding: 7px;
  color: #888888;
}
.widget-nav .nav > li > a:hover,
.widget-nav .nav > li > a:focus {
  text-decoration: none;
  background-color: transparent;
}
.widget-nav .nav > li.active > a,
.widget-nav .nav > li.active > a:hover,
.widget-nav .nav > li.active > a:focus {
  font-weight: 700;
  color: #d9534f;
}
.widget-nav .nav > li a + span,
.widget-nav .nav > li a + small {
  position: absolute;
  right: 7px;
  top: 7px;
}
.widget-nav .nav > li .count {
  float: right;
  margin-left: 6px;
  font-size: 1em;
  padding: 1px 0;
  color: #777;
}
/*.section {
    position: relative;
    //overflow: hidden;
}

.section h2 {
    color: #3482E6;
    font-size: 20px;
    font-weight: 500;
    margin: 0 0 0 17px;
}

.section h3 {
    border-bottom: 1px solid #d4dff6;
    color: #292636;
    font-size: 32px;
    font-weight: 300;
    letter-spacing: -.02em;
    line-height: 1.3em;
    margin: 0 0 20px 0;
    margin-bottom: 20px;
    padding: 0 15px 18px 15px;
}

.section p {
    color: #87818C;
    font-size: 16px;
    letter-spacing: -.02em;
    line-height: 1.6em;
    padding: 0 15px;
}*/
.xxxcontent-container {
  position: relative;
  top: 60px;
  padding: 20px 25px;
  height: 458px;
  background: #fff;
  -webkit-box-shadow: 2px 4px 16px -6px rgba(0, 0, 0, 0.8);
  box-shadow: 2px 4px 16px -6px rgba(0, 0, 0, 0.8);
}
.content-container {
  padding: 15px;
}
.media-carousel {
  margin-right: 25px;
  margin-left: 25px;
}
.media-carousel .item {
  display: block;
  margin: 5px;
}
.media-carousel .item img {
  display: block;
  width: 100%;
  height: auto;
}
.media-carousel .owl-controls .owl-buttons div {
  position: absolute;
  top: 50%;
  padding: 0;
  margin: -12px 0 0 0;
  font-size: 24px;
  line-height: 24px;
  color: #000;
  background-color: transparent;
  border-radius: 0;
}
.media-carousel .owl-controls .owl-buttons .owl-prev {
  left: -25px;
}
.media-carousel .owl-controls .owl-buttons .owl-next {
  right: -25px;
}
.media-carousel .owl-controls .owl-buttons i {
  margin-top: 0;
}
.carousel-mini {
  margin-right: 15px;
  margin-left: 15px;
}
.carousel-mini .owl-controls .owl-buttons div {
  font-size: 14px;
}
.carousel-mini .owl-controls .owl-buttons .owl-prev {
  left: -10px;
}
.carousel-mini .owl-controls .owl-buttons .owl-next {
  right: -15px;
}

/* ============================
   📌 NUEVO DISEÑO DEL SIDEBAR
   ============================ */

   .appsidebar-inner {
    background: #ffffff;
    border-right: 1px solid #e5e7eb;
    width: 250px !important;
    box-shadow: 4px 0 18px rgba(0,0,0,0.06);
    border-radius: 0 14px 14px 0;
    /* ANTES: overflow: hidden;  */
    overflow-y: auto;          /* 👉 permite hacer scroll */
    overflow-x: hidden;
    height: 100vh;             /* 👉 ocupa alto completo de la ventana */
}

/* Encabezado (logo + nombre) */
.side-profile-info {
    background: linear-gradient(135deg, #2563eb, #7c1fbf);
    color: #fff;
    padding: 18px 14px;
    border-bottom: none;
}
.side-profile-info img {
    border-radius: 12px;
    width: 55px;
}
.side-profile-info h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: #fff;
}
.side-profile-info small {
    opacity: .9;
}

/* -----------------------------
   📌 Items principales
------------------------------*/
.side-nav > li > a {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    transition: all .2s;
    border-radius: 8px;
    margin: 4px 8px;
}

.side-nav > li > a:hover {
    background: #f3f4f6;
    transform: translateX(3px);
}

/* 🔍 ICONOS PRINCIPALES MÁS GRANDES Y VISIBLES */
.side-nav > li > a .nav-icon,
.side-nav > li > a i {
    font-size: 20px !important;
    width: 26px !important;
    min-width: 26px !important;
    text-align: center !important;
    margin-right: 12px !important;
    color: #2563eb !important;
}

/* Hover del icono */
.side-nav > li > a:hover .nav-icon,
.side-nav > li > a:hover i {
    transform: scale(1.08);
    color: #1d4ed8 !important;
}

/* -----------------------------
   📌 Título "Opciones"
------------------------------*/
.nav-header {
    color: #6b7280;
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 10px 18px 6px;
    opacity: .9;
}

/* -----------------------------
   📌 Submenús modernos
------------------------------*/
.nav-sub {
    background: #f9fafb;
    margin-left: 10px;
    margin-right: 10px;
    padding: 6px 0 8px 12px;
    border-left: 3px solid #2563eb;
    border-radius: 0 0 8px 8px;
}

/* subitems en fila (icono + texto) */
.nav-sub li a {
    padding: 6px 10px;
    font-size: 13px;
    border-radius: 6px;
    color: #4b5563;
    display: flex;
    align-items: center;
    transition: all .15s;
}

/* iconos de submenú un poquito más pequeños */
.nav-sub li a .nav-icon,
.nav-sub li a i {
    font-size: 17px !important;
    margin-right: 8px !important;
    color: #4b5563 !important;
}

.nav-sub li a:hover {
    background: #e5edff;
    color: #2563eb;
    padding-left: 14px;
}

/* -----------------------------
   📌 Scroll moderno
------------------------------*/
.navmenu-nav {
    scrollbar-width: thin;
    scrollbar-color: #c7c9d1 #f1f1f1;
    padding-bottom: 40px;  /* para que no se corte el último item */
}
.navmenu-nav::-webkit-scrollbar {
    width: 6px;
}
.navmenu-nav::-webkit-scrollbar-thumb {
    background: #c7c9d1;
    border-radius: 10px;
}

/* -----------------------------
   📌 Footer
------------------------------*/
.side-footer {
    border-top: 1px solid #e5e7eb;
    padding: 8px 12px;
}

/* Gear icon */
.sideGear .fi-gear-double {
    font-size: 20px !important;
}
/* ============================
   📌 SEPARAR LOS ICONOS Y DARLES MÁS PRESENCIA
   ============================ */

/* Separación y alineación perfecta */
.side-nav > li > a .nav-icon,
.side-nav > li > a i {
    font-size: 22px !important;     /* tamaño visible */
    width: 30px !important;         /* 👉 MÁS ESPACIO */
    min-width: 30px !important;
    text-align: center !important;
    margin-right: 16px !important;  /* 👉 MÁS SEPARACIÓN DEL TEXTO */
    margin-left: 4px !important;    /* 👉 separarlo del borde izquierdo */
    color: #2563eb !important;
}

/* Iconos del submenú */
.nav-sub li a .nav-icon,
.nav-sub li a i {
    font-size: 18px !important;
    width: 26px !important;
    min-width: 26px !important;
    margin-right: 14px !important;  /* 👉 separación extra */
    margin-left: 6px !important;
}

/* Hover icon bonito */
.side-nav > li > a:hover .nav-icon,
.side-nav > li > a:hover i {
    transform: scale(1.12);
    color: #1d4ed8 !important;
}


/* =========================================================
   MODERN OVERRIDES (pegar al final del CSS)
   - Mantiene tus clases existentes
   - Cambia look&feel a moderno (cards, sombras suaves, flex)
   ========================================================= */

/* -------- Design Tokens -------- */
:root{
  --bg: #f6f7fb;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e5e7eb;

  --primary: #2563eb;
  --success: #22c55e;
  --info: #06b6d4;
  --warning: #f59e0b;
  --danger: #ef4444;

  --radius: 14px;
  --radius-sm: 10px;

  --shadow-sm: 0 1px 2px rgba(16,24,40,.06);
  --shadow: 0 10px 25px rgba(16,24,40,.10);
  --shadow-lg: 0 18px 40px rgba(16,24,40,.14);

  --ring: 0 0 0 4px rgba(37,99,235,.15);
}

html, body{
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* -------- Eventos (más “badge” moderno) -------- */
.eventosinconfirmar,
.eventoconfirmado,
.eventoengabinete,
.eventocancelado,
.eventonosepresenta{
  border-right-width: 6px;
  border-right-style: solid;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.eventosinconfirmar{ border-right-color: #1b4b8a; }
.eventoengabinete{ border-right-color: #1b4b8a; }
.eventoconfirmado{ border-right-color: var(--primary); }
.eventocancelado{ border-right-color: var(--warning); }
.eventonosepresenta{ border-right-color: #b91c1c; }

/* -------- TASKS (adiós floats, hola flex) -------- */
.task-header > ul{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin: 0;
  list-style: none;

  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius) var(--radius) 0 0;
}

.task-header > ul > li{
  float: none !important;
  border-left: none !important;
  padding: 0 !important;
  line-height: 1.2 !important;
  color: inherit;
}

.task-header > ul > li.description{
  width: auto !important;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-weight: 500;
}

.task-header > ul > li time{
  font-weight: 700;
  color: inherit;
}

.task-header > ul > li small{
  color: var(--muted);
  font-size: 12px;
}

.task-header > ul > li.icon{
  width: 36px !important;
  height: 36px !important;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background-image: none !important;
  background: rgba(15,23,42,.06);
  color: inherit;
  font-size: 18px !important;
}

.task-icon{
  float: none !important;
  font-size: 22px;
  line-height: 1;
  padding: 0;
  margin-left: 8px;
  opacity: .9;
}

/* cuerpo tipo card */
.task-body{
  padding: 14px 14px;
  background: var(--surface);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-sm);
}

.task-body .title{
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.task-body .description{
  margin: 6px 0 0 0;
  font-size: 13px;
  line-height: 1.45em;
  color: var(--muted);
  font-family: inherit; /* quita Helvetica fallback viejo */
}

/* -------- Variantes modernas (header con gradiente suave + body tint) -------- */
.task-default .task-header{ color: var(--text); }
.task-default .task-header > ul{ background: var(--surface); }
.task-default .task-body{ background: var(--surface); }
.task-default .task-icon, .task-default .task-body p{ color: var(--muted); }

.task-primary .task-header > ul{
  color: #fff;
  background: linear-gradient(135deg, rgba(37,99,235,1), rgba(99,102,241,1));
  border-color: transparent;
}
.task-primary .task-body{ background: rgba(37,99,235,.06); }
.task-primary .task-icon, .task-primary .task-body p{ color: rgba(37,99,235,1); }

.task-success .task-header > ul{
  color: #fff;
  background: linear-gradient(135deg, rgba(34,197,94,1), rgba(16,185,129,1));
  border-color: transparent;
}
.task-success .task-body{ background: rgba(34,197,94,.06); }
.task-success .task-icon, .task-success .task-body p{ color: rgba(34,197,94,1); }

.task-info .task-header > ul{
  color: #fff;
  background: linear-gradient(135deg, rgba(6,182,212,1), rgba(14,165,233,1));
  border-color: transparent;
}
.task-info .task-body{ background: rgba(6,182,212,.06); }
.task-info .task-icon, .task-info .task-body p{ color: rgba(6,182,212,1); }

.task-warning .task-header > ul{
  color: #fff;
  background: linear-gradient(135deg, rgba(245,158,11,1), rgba(251,146,60,1));
  border-color: transparent;
}
.task-warning .task-body{ background: rgba(245,158,11,.08); }
.task-warning .task-icon, .task-warning .task-body p{ color: rgba(245,158,11,1); }

.task-danger .task-header > ul{
  color: #fff;
  background: linear-gradient(135deg, rgba(239,68,68,1), rgba(244,63,94,1));
  border-color: transparent;
}
.task-danger .task-body{ background: rgba(239,68,68,.06); }
.task-danger .task-icon, .task-danger .task-body p{ color: rgba(239,68,68,1); }

/* -------- Paper / shadows: suavizar o modernizar -------- */
.lined-paper-bg{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: var(--surface);
  padding: 14px 14px;
  line-height: 1.6;
}
.xlined-paper::before{ display:none; }

.shadow-out-left,
.shadow-out-right,
.shadow-in-left,
.shadow-in-right{
  box-shadow: var(--shadow) !important;
}

/* -------- Color sample: grid moderno -------- */
.color-sample-list{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.color-sample-list > li{
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}
.color-sample-list > li h4{
  margin: 0 0 6px 0;
  font-size: 13px;
  letter-spacing: .06em;
}
.color-sample-list > li .color{
  opacity: .65;
}

/* -------- Labels -------- */
.character-label{
  border-radius: 999px;
  background-image: none !important;
  background: rgba(15,23,42,.55);
  box-shadow: var(--shadow-sm);
}

/* -------- Icons modern -------- */
.circle-icon{
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, color .15s ease;
}
.circle-icon:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  color: var(--text);
}
.circle-icon.red{
  color: var(--danger);
  border-color: rgba(239,68,68,.35);
}
.circle-icon.red:hover{
  color: #b91c1c;
}

/* -------- Side nav: suavizar aún más (tu sidebar ya está moderno) -------- */
.xsidenav .nav > li > a,
.sidenav .nav > li > a{
  color: var(--muted);
}
.xsidenav .nav > li.active > a,
.sidenav .nav > li.active > a{
  color: var(--primary);
}
.xsidenav .nav > li > a:hover,
.sidenav .nav > li > a:hover{
  color: var(--text);
}

/* -------- Carousels: botones más actuales -------- */
.media-carousel .owl-controls .owl-buttons div{
  width: 40px;
  height: 40px;
  display: grid !important;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.9) !important;
  box-shadow: var(--shadow);
  color: var(--text) !important;
  backdrop-filter: blur(8px);
}
.media-carousel .owl-controls .owl-buttons div:hover{
  box-shadow: var(--shadow-lg);
}

/* -------- Focus states -------- */
a:focus, button:focus, input:focus, textarea:focus, select:focus{
  outline: none;
  box-shadow: var(--ring);
  border-radius: 10px;
}
/* --- Global font override (modern) --- */
html body{
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

.btn-icon{
  width: 38px;
  height: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px; /* redondo */
}

.btn-icon i{
  font-size: 16px;
  line-height: 1;
}
