.btn-dark {
    --bs-btn-bg: #393939;
    --bs-btn-border-color: #262626;
    --bs-btn-hover-bg: #262626;
    --bs-btn-hover-border-color: #121212;
}

.btn-primary {
    --bs-btn-bg: #e7425a !important;
    --bs-btn-border-color: #e7425a !important;
}

.btn-danger {
    --bs-btn-bg: #949494 !important;
    --bs-btn-border-color: #7F7F7F !important;
}


h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif  !important;
}

h4 {
  color: #e7455b !important;
}

/**
 * Calendario
 */
/**
 *
 */
time.xt-datetime
{
  font-size: 0.8em; /* change icon size */
  display: inline-block;
  position: relative;
  width: 8em;
  height: 6.5em;
  background-color: #fff;
  border-radius: 0.6em;
  box-shadow: 0 1px 0 #bdbdbd, 0 2px 0 #fff, 0 3px 0 #bdbdbd, 0 4px 0 #fff, 0 5px 0 #bdbdbd, 0 0 0 1px #bdbdbd;
  overflow: hidden;
}
time.xt-datetime span
{
  display: block;
  width: 100%;
  font-size: 0.8em;
  font-weight: bold;
  font-style: normal;
  text-align: center;
}
time.xt-datetime .month
{
  position: absolute;
  top: 0;
  padding: 0.3em 0;
  color: #fff;
  background-color: #E7455B;
  border-bottom: 1px dashed #BB2E41;
  box-shadow: 0 2px 0 #BB2E41;
}
time.xt-datetime .month .year {
    color: #7f101f;
    font-weight: bold;
}
time.xt-datetime .hour
{
  position: absolute;
  bottom: 0.3em;
  color: #9C9C9C;
}
time.xt-datetime .day
{
  font-size: 2.8em;
  letter-spacing: -0.05em;
  padding-top: 0.5em;
  color: #2f2f2f;
}

/**
 */
.avatar-150 {
    vertical-align: middle;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 2px solid #aaa;
 }

/**
 *
 */
.btn-circle {
  font-size: 1.5rem;
  color: #FFF;
  width:50px;
  height:50px;
  background:#FF5555;
  border-radius: 50%;
}
.btn-circle:hover {
  color: #FF5555;
  background: #FFF;
}

/**
 * Encabezados
 */
.card-header.xt-header {
  background:#e7455b;
  color: white;
}
.card-header.xt-header a.nav-link {
  cursor: pointer;
  color: white;
  border: 1px solid #9d0000;
  margin-left: 10px;
}

.card-header.xt-header .nav-link.active{
  background:#A12435;
  box-shadow: 5px 5px 15px #E85F72, -5px -5px 15px #E85F72;
}

.xt-card-body {
  background: #f8f8f8;
  box-shadow:inset 0 5px 10px #bbb;
}
/**
 *
 */
div.card-header li a.nav-link.staff-item {
    background: #EEE;
    color: #dc7987;
    margin-right: 10px;
    border: 1px solid  #ccc;
}

div.card-header li a.nav-link.staff-item.active {
  box-shadow: 0 -3px 5px #cdcdcd, 1px 0 5px #cdcdcd, -1px 0 5px #cdcdcd;
  cursor: pointer;
  background:#e7455b;
  color: white;
  border: 1px solid #9d0000;
}

/**
 * Media Queries para mobiles
 */
@media only screen and (max-width: 600px) {
  div.card-header li a.nav-link.staff-item {
    margin-right: 2px;
  }

  .nav-link {
        padding: var(--bs-nav-link-padding-y) 8px
  }
}


 /** spinner **/
 .xt-loader {
    width: 48px;
    height: 48px;
    display: inline-block;
    position: relative;
    border-width: 3px 2px 3px 2px;
    border-style: solid dotted solid dotted;
    border-color: #e7455b rgba(255, 255, 255,0.3) #979797 rgba(232, 70, 90, 0.3);
    border-radius: 50%;
    box-sizing: border-box;
    animation: 1s rotate linear infinite;
 }
 .xt-loader:before , .xt-loader:after{
    content: '';
    top: 0;
    left: 0;
    position: absolute;
    border: 10px solid transparent;
    border-bottom-color: #979797;
    transform: translate(-10px, 19px) rotate(-35deg);
  }
 .xt-loader:after {
    border-color: #de3500 #0000 #0000 #0000 ;
    transform: translate(32px, 3px) rotate(-35deg);
  }
   @keyframes rotate {
    100%{    transform: rotate(360deg)}
  }

/**
 * Vue transitions
 */
.v-enter-active,
.v-leave-active {
  transition: opacity 0.5s ease;
}

.v-enter-from,
.v-leave-to {
  opacity: 0;
}

/**
 * Revisando los iconos de cada evento acción.
 */
.dot-enabled, .dot-disabled {
    border: 1px solid #999;
    box-shadow: 1px 1px 5px #999 inset, 1px 1px 5px #FFF;
    background: #a7a5a5;
    margin-bottom: 0;
    display: block;
    width: 19px;
    height: 19px;
    border-radius: 9px;
}
.dot-enabled {
    border: 1px solid #09B3A1;
    box-shadow: 1px 1px 5px #09B3A1 inset, 1px 1px 5px #FFF;
    background: #14dfc8;
}

td.min, th.min {
    width: 1%;
    white-space: nowrap;
}
/**
 * Order list
 */
ol.xt {
    list-style: none;
    counter-reset: list-counter;
    text-align: justify;
}

ol.xt > li {
    counter-increment: list-counter;
    position: relative;
}

ol.xt > li::before {
    content: counter(list-counter) ". ";
    color: #e7455b !important;
    position: absolute;
    left: -1.2em; /* Adjust as needed */
    font-size: 1.2em;
    font-weight: bold;
}
ul.xt {
    list-style: none; /* Remove default bullets */
    padding-left: 1em;
    text-align: justify;
}

ul.xt > li {
    position: relative;
}

ol.xt ul.xt {
  margin-left: 1.5rem;
}
ul.xt > li::before {
    content: '\2022'; /* Bullet character */
    color: #e7455b !important;
    position: absolute;
    left: -.8em; /* Adjust as needed */
    top: -8px;
    font-size: 1.5em;
}

ul.xt-square {
    list-style-type: square;
    text-align: justify;
}

ul.xt-square li::marker {
    color: #e7455b !important;
}
/**
 */
.cursor-pointer {
    cursor: pointer;
}
.text-justify {
    text-align: justify;
}
.cursor-pointer {
    cursor: pointer;
}
/**
 *
 */
.text-primary {
 color: #e7455b !important;
}

/**
 *
 */
.entry-content > div {
    width: 100%
    margin: auto;
    max-width: none;
}

/**
 * Edición de imagen
 */
.show-image-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
}

.show-image-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
}

.show-image-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.show-image-toolbar {
  display: flex;
  gap: 10px;
  padding: 10px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}

.show-image-container {
  flex: 1;
  position: relative;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;
}

.show-image-img {
  transition: transform 0.2s ease;
}
