/*Custom menu item style*/

.light-style .menu .app-brand {
  height: 64px;
}

.sub-menu-item > .menu-link:before {
    content: "" !important;
}

.menu-item > .menu-link:not(.menu-toggle):before {
  content: "" !important;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
    padding-top: 64px !important;
  }
  .layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
    padding-top: 78px !important;
  }
  /* Navbar page z-index issue solution */
  .content-wrapper .navbar {
    z-index: auto;
  }

  /* Dropdown buttons going out of small screens */
@media (max-width: 576px) {
    #dropdown-variation-demo .btn-group .text-truncate {
      width: 254px;
      position: relative;
    }
    #dropdown-variation-demo .btn-group .text-truncate::after {
      position: absolute;
      top: 45%;
      right: 0.65rem;
    }
  }

/* Fix login logo overlap on mobile devices like iPhone 16 Pro */
@media (max-width: 480px) {
    .auth-cover-brand {
        text-align: center !important;
        position: relative !important;
        left: auto !important;
        top: auto !important;
        inset-inline-start: auto !important;
        inset-block-start: auto !important;
        display: block !important;
        width: 100% !important;
    }
    .auth-cover-brand img {
        width: 250px !important;
        display: block !important;
        margin: 0 auto !important;
    }
    .auth-cover-brand + h3 {
        margin-top: 20px !important;
    }
}
.vacation-title{
    color:white !important;
    font-size:15px;
    font-weight: bold;
}
.custom-toast {
    background-color: rgba(255, 255, 255, 0.9);
}

/*Parsley warning message padding correction*/
ul.parsley-errors-list {
  padding-inline-start: 0px !important;
  margin-left: 0px !important;
}

.custom-swal-button-group {
  display: flex;
  gap: 10px;
}

/*Removing bold in menu selection options*/
.menu-option-list label {
  font-weight: 300 !important;
}

.menu-selection-card {
  background-color: color(srgb 0.945 0.945 0.945) !important;
  box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.19) !important;
}

.custom-text-muted {
  --bs-text-opacity: 1;
  color: #686868 !important;
}

.custom-avatar-icon{
  display: flex; 
  justify-content: center; 
  align-items: center; 
  width: 40px; 
  height: 40px;
}

.card-dashboard-data{
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-dashboard-data-body{
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.equal-height {
  display: flex;
}
.equal-height > div {
  display: flex;
}
.dashboard-white-space{
  flex-grow: 1;
}
.dashboard-stats{
  margin-top: auto;
}

/*Removing first and last buttons from DataTable*/
.dataTables_paginate .first,
.dataTables_paginate .last {
    display: none;
}

/* Animación para el punto de timeline actual */
.timeline-point-animated {
    animation: timeline-pulse 1.5s infinite;
}

@keyframes timeline-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(105, 108, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(105, 108, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(105, 108, 255, 0);
    }
}

/* Estilos para el timeline de transacciones */
.transaction-detail-row {
    background-color: #f8f9fa;
}

.timeline-transaction {
    list-style: none;
    padding-left: 0;
}

.timeline-item-transaction {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 0.75rem;
}

.timeline-item-transaction:last-child {
    margin-bottom: 0;
}

.timeline-indicator-transaction {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
}

.timeline-indicator-transaction i {
    font-size: 0.85rem;
}

.timeline-event-transaction {
    position: relative;
}

.timeline-header-transaction {
    margin-bottom: 0.2rem;
}

.fs-xs {
    font-size: 0.8125rem !important;
}

/* Acordeón de transacciones */
.transaction-accordion .accordion-button {
    font-size: 0.875rem;
    background-color: #f8f9fa;
}

.transaction-accordion .accordion-button:not(.collapsed) {
    color: inherit;
    background-color: #e9ecef;
    box-shadow: none;
}

.transaction-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.125);
}

/* Modern style for login (light, simple, responsive) */
.rv-login.authentication-wrapper.authentication-bg {
  background:
    radial-gradient(circle at 11% 14%, rgba(255, 230, 171, 0.31), transparent 36%),
    radial-gradient(circle at 88% 88%, rgba(140, 201, 255, 0.30), transparent 38%),
    linear-gradient(90deg, #f8fbff 0%, #f2f8ff 64.5%, #e8f2ff 64.6%, #e4f0ff 100%);
}

.rv-login .authentication-inner {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.rv-login .authentication-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(rgba(112, 138, 178, 0.30) 1px, transparent 1.9px),
    radial-gradient(rgba(112, 138, 178, 0.22) 1px, transparent 2px);
  background-size: 24px 24px, 48px 48px;
  background-position: 0 0, 12px 12px;
  opacity: 0.3;
  pointer-events: none;
}

.rv-login .auth-cover-bg-color {
  position: relative;
  background:
    radial-gradient(rgb(94 131 177 / 16%) 1px, transparent 2.1px),
    radial-gradient(circle at 74% 10%, rgba(168, 219, 255, 0.24), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(242, 250, 255, 0.88));
  background-size: 28px 28px, cover, cover;
}

.rv-login .rv-login-cover {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 8.4rem 3.4rem 3rem;
  overflow: hidden;
  border-right: 1px solid rgba(154, 192, 230, 0.33);
}

.rv-login .rv-login-cover::before,
.rv-login .rv-login-cover::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.rv-login .rv-login-cover::before {
  width: 420px;
  height: 420px;
  top: -205px;
  right: -150px;
  border: 1px solid rgba(127, 171, 228, 0.20);
  background: radial-gradient(circle, rgba(160, 205, 255, 0.18), rgba(160, 205, 255, 0.05) 62%, transparent 70%);
}

.rv-login .rv-login-cover::after {
  width: 300px;
  height: 300px;
  bottom: -155px;
  left: -130px;
  border: 1px solid rgba(144, 181, 226, 0.18);
  background: radial-gradient(circle, rgba(173, 217, 255, 0.16), rgba(173, 217, 255, 0.04) 64%, transparent 73%);
}

.rv-login .rv-login-graphic {
  position: relative;
  z-index: 2;
  width: min(92%, 920px);
  aspect-ratio: 1.12 / 0.94;
  margin: 0 auto;
}

.rv-login .rv-login-graphic::before,
.rv-login .rv-login-graphic::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.rv-login .rv-login-graphic::before {
  inset: 11% 13% 12% 14%;
  border-radius: 42% 58% 54% 46% / 45% 42% 58% 55%;
  border: 1px solid rgba(141, 198, 238, 0.38);
  opacity: 0.72;
  animation: rv-wave-drift 13s ease-in-out infinite;
}

.rv-login .rv-login-graphic::after {
  inset: 20% 22% 21% 24%;
  background:
    repeating-linear-gradient(
      162deg,
      rgba(154, 214, 244, 0) 0 14px,
      rgba(154, 214, 244, 0.34) 14px 16px,
      rgba(154, 214, 244, 0) 16px 30px
    );
  opacity: 0.3;
  border-radius: 1.6rem;
  mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
  animation: rv-wave-drift-alt 16s ease-in-out infinite;
}

.rv-login .rv-g-frame {
  position: absolute;
  inset: 5% 9% 7% 12%;
  border: 4px solid #9fdcf5;
  border-radius: 1.5rem;
  background:
    linear-gradient(138deg, rgba(255, 255, 255, 0.55), rgba(237, 249, 255, 0.18)),
    radial-gradient(circle at 28% 22%, rgba(154, 217, 252, 0.25), transparent 55%);
  opacity: 0.92;
  box-shadow:
    0 26px 50px -42px rgba(89, 145, 196, 0.6),
    inset 0 0 0 1px rgba(188, 229, 251, 0.4);
}

.rv-login .rv-g-frame::before {
  content: "";
  position: absolute;
  inset: 4% 4%;
  border: 2px solid rgba(173, 224, 248, 0.64);
  border-radius: 1.15rem;
  clip-path: polygon(0 8%, 30% 8%, 38% 14%, 73% 14%, 96% 20%, 96% 82%, 88% 94%, 28% 94%, 6% 88%, 6% 22%);
}

.rv-login .rv-g-pin {
  position: absolute;
  width: 1.08rem;
  height: 1.08rem;
  border-radius: 50%;
  background: #e4545b;
  box-shadow: 0 0 0 0.32rem #aee4f8;
}

.rv-login .rv-g-pin-tl { top: 10%; left: 9%; }
.rv-login .rv-g-pin-bl { bottom: 8%; left: 9%; }

.rv-login .rv-g-trace {
  position: absolute;
  height: 2px;
  background: rgba(158, 214, 242, 0.75);
}

.rv-login .rv-g-trace-top { width: 14%; top: 12%; left: 14%; transform: rotate(11deg); }
.rv-login .rv-g-trace-mid { width: 18%; top: 30%; left: 43%; }
.rv-login .rv-g-trace-bottom { width: 20%; bottom: 18%; left: 45%; }

.rv-login .rv-g-stats {
  position: absolute;
  top: 9%;
  left: 44%;
  width: 38%;
  height: 27%;
  border-radius: 0.95rem;
  background: linear-gradient(140deg, rgba(206, 236, 252, 0.38), rgba(206, 236, 252, 0.12));
  border: 1px solid rgba(165, 214, 242, 0.55);
}

.rv-login .rv-g-trend-line {
  position: absolute;
  inset: 24% 7% 22% 6%;
  border-radius: 0.72rem;
  background: linear-gradient(180deg, rgba(193, 231, 250, 0.30), rgba(193, 231, 250, 0.05));
}

.rv-login .rv-g-trend-seg {
  position: absolute;
  height: 2px;
  background: #93d3ef;
  transform-origin: left center;
}

.rv-login .rv-g-trend-seg-1 { left: 3%; top: 68%; width: 15%; transform: rotate(-14deg); }
.rv-login .rv-g-trend-seg-2 { left: 17%; top: 64%; width: 15%; transform: rotate(13deg); }
.rv-login .rv-g-trend-seg-3 { left: 31%; top: 68%; width: 14%; transform: rotate(-26deg); }
.rv-login .rv-g-trend-seg-4 { left: 44%; top: 61%; width: 14%; transform: rotate(18deg); }
.rv-login .rv-g-trend-seg-5 { left: 57%; top: 66%; width: 14%; transform: rotate(-24deg); }
.rv-login .rv-g-trend-seg-6 { left: 70%; top: 58%; width: 14%; transform: rotate(16deg); }

.rv-login .rv-g-trend-dot {
  position: absolute;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #eff8ff;
  border: 2px solid #7bc7ea;
  box-shadow: 0 0 0 3px rgba(156, 219, 247, 0.3);
}

.rv-login .rv-g-trend-dot-1 { left: 2%; top: 67%; }
.rv-login .rv-g-trend-dot-2 { left: 16%; top: 62%; }
.rv-login .rv-g-trend-dot-3 { left: 30%; top: 68%; }
.rv-login .rv-g-trend-dot-4 { left: 44%; top: 56%; }
.rv-login .rv-g-trend-dot-5 { left: 57%; top: 61%; }
.rv-login .rv-g-trend-dot-6 { left: 70%; top: 53%; }
.rv-login .rv-g-trend-dot-7 { left: 83%; top: 57%; }

.rv-login .rv-g-mini-donut {
  position: absolute;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  border: 0.42rem solid #bde7f9;
  background: rgba(247, 253, 255, 0.72);
}

.rv-login .rv-g-mini-donut-a {
  top: -1.1rem;
  left: 8%;
  border-top-color: #61c7aa;
  border-right-color: #61c7aa;
}

.rv-login .rv-g-mini-donut-b {
  top: -1.12rem;
  left: 45%;
  border-top-color: #ef5361;
  border-left-color: #ef5361;
}

.rv-login .rv-g-mini-donut-c {
  top: -1.1rem;
  right: 7%;
  border-bottom-color: #7d76ce;
  border-right-color: #7d76ce;
}

.rv-login .rv-g-red-stack {
  position: absolute;
  top: 31%;
  left: 82%;
  width: 2.2%;
  height: 26%;
  display: grid;
  gap: 0.12rem;
}

.rv-login .rv-g-red-stack span {
  display: block;
  background: #ea3f52;
  border-radius: 1px;
}

.rv-login .rv-g-center {
  position: absolute;
  top: 53%;
  left: 58%;
  width: 14.8rem;
  height: 14.8rem;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 12px 24px rgba(96, 169, 214, 0.23));
}

.rv-login .rv-g-center-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.rv-login .rv-g-center-ring-a {
  border: 1.22rem solid #afe4f8;
}

.rv-login .rv-g-center-ring-b {
  inset: 1.9rem;
  border: 0.62rem solid #d0edf9;
  border-top-style: dashed;
  border-right-style: dashed;
}

.rv-login .rv-g-center-ring-c {
  inset: 3.4rem;
  border: 0.68rem solid #b9e6f8;
  border-top-color: #eb3f52;
  border-left-color: #eb3f52;
}

.rv-login .rv-g-center-core {
  position: absolute;
  inset: 5.2rem;
  border-radius: 50%;
  border: 0.36rem solid #d3ecf8;
  background: rgba(245, 250, 253, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rv-login .rv-g-center-core i {
  font-size: 2.25rem;
  color: #c4cad1;
}

.rv-login .rv-g-link {
  position: absolute;
  background: rgba(148, 210, 240, 0.62);
}

.rv-login .rv-g-link-h {
  width: 20%;
  height: 2px;
  left: 56%;
  bottom: 19%;
}

.rv-login .rv-g-link-v {
  width: 2px;
  height: 14%;
  left: 56%;
  bottom: 19%;
}

.rv-login .rv-g-node {
  position: absolute;
  width: 0.62rem;
  height: 0.62rem;
}

.rv-login .rv-g-node-blue { right: 17%; bottom: 18%; background: #9ddaf8; }
.rv-login .rv-g-node-green { right: 36%; bottom: 18%; background: #61c8a8; }
.rv-login .rv-g-node-red { right: 27%; bottom: 18%; background: #ef4a5a; }
.rv-login .rv-g-node-purple { left: 55%; bottom: 31%; background: #6e67c4; }

.rv-login .rv-g-chip {
  position: absolute;
  width: 7.4rem;
  height: 7.4rem;
  border-radius: 50%;
  border: 0.34rem solid #c0c8d2;
  background: rgba(251, 253, 255, 0.73);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px -18px rgba(76, 110, 141, 0.48);
}

.rv-login .rv-g-chip i {
  font-size: 2.55rem;
  color: #c0c6cd;
}

.rv-login .rv-g-chip-ticket { top: 4%; left: 29%; }
.rv-login .rv-g-chip-food { top: 15%; right: 5%; }
.rv-login .rv-g-chip-vacation {
  top: 38%;
  left: 16%;
  border-color: #9bd7ea;
}
.rv-login .rv-g-chip-vacation i { color: #bcc5ce; }
.rv-login .rv-g-chip-pills {
  bottom: 6%;
  left: 36%;
  border-color: #6d67bf;
}

.rv-login .rv-g-chip-users {
  bottom: 16%;
  right: 13%;
  border-color: #eb4458 #c7eaf8 #c7eaf8 #c7eaf8;
}

.rv-login .rv-g-chip-hands {
  width: 6.8rem;
  height: 6.8rem;
  right: 4%;
  bottom: -10%;
}

.rv-login .rv-g-capsule {
  position: absolute;
  width: 2.8rem;
  height: 1.5rem;
  border-radius: 1rem;
  border: 2px solid #ef4658;
  background: rgba(255, 255, 255, 0.56);
}

.rv-login .rv-g-capsule-a {
  bottom: 8%;
  left: 28%;
  transform: rotate(-20deg);
}

.rv-login .rv-g-capsule-b {
  bottom: 8.4%;
  left: 32%;
  transform: rotate(-36deg);
}

.rv-login .rv-login-side {
  min-height: 100vh;
  position: relative;
  z-index: 2;
  overflow: hidden;
  align-items: center !important;
  justify-content: center !important;
  background:
    radial-gradient(rgba(112, 146, 188, 0.34) 1px, transparent 1.8px),
    radial-gradient(circle at -6% 14%, rgba(198, 223, 255, 0.62), transparent 44%),
    radial-gradient(circle at 102% 86%, rgba(166, 204, 250, 0.46), transparent 48%),
    linear-gradient(164deg, #edf5ff 0%, #dfeeff 54%, #d2e6ff 100%);
  background-size: 24px 24px, cover, cover, cover;
  box-shadow:
    inset 14px 0 28px -24px rgba(84, 128, 174, 0.62),
    inset 0 24px 34px -32px rgba(116, 166, 216, 0.45);
}

.rv-login .rv-login-side::before,
.rv-login .rv-login-side::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.rv-login .rv-login-side::before {
  width: 340px;
  height: 340px;
  top: -130px;
  right: -150px;
  border: 1px solid rgba(146, 198, 255, 0.30);
  background: radial-gradient(circle, rgba(146, 198, 255, 0.22), rgba(146, 198, 255, 0.04) 67%, transparent 73%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.rv-login .rv-login-side::after {
  width: 240px;
  height: 240px;
  bottom: 70px;
  left: -90px;
  border: 1px solid rgba(165, 223, 255, 0.34);
  background: radial-gradient(circle, rgba(165, 223, 255, 0.18), rgba(165, 223, 255, 0.04) 64%, transparent 72%);
}

.rv-login .rv-login-cover-brand {
  position: absolute;
  inset-block-start: 1.9rem;
  inset-inline-start: 2.2rem;
  z-index: 3;
}

.rv-login .rv-login-cover-brand img {
  max-width: 320px;
  width: 100%;
  height: auto;
  display: block;
}

.rv-login .rv-login-card {
  position: relative;
  z-index: 3;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.98);
  border-radius: 1.1rem;
  box-shadow: 0 22px 40px -30px rgba(52, 89, 138, 0.44);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 1.35rem 1.35rem 1.2rem;
  max-width: 360px;
}

@media (min-width: 992px) {
  .rv-login .rv-login-card.w-px-400 {
    width: min(100%, 428px) !important;
    max-width: 428px !important;
  }
}

.rv-login .rv-login-brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.75rem !important;
}

.rv-login .rv-login-brand img {
  max-width: 275px;
  width: 100%;
  height: auto;
  display: block;
}

.rv-login .btn-login {
  border-radius: 0.55rem;
  box-shadow: 0 11px 20px -13px rgba(101, 120, 232, 0.72);
}

.rv-login .rv-login-divider .divider-text {
  padding: 0;
  min-width: 0;
}

.rv-login .rv-login-ghost-links {
  margin-top: -0.15rem;
}

.rv-login .rv-login-ghost-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(120, 143, 173, 0.26);
  background: rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  color: #6765e4;
  text-decoration: none;
  padding: 0.32rem 0.7rem;
  transition: all 0.2s ease;
}

.rv-login .rv-login-ghost-link:hover {
  border-color: rgba(103, 101, 228, 0.45);
  background: rgba(103, 101, 228, 0.08);
  color: #5654d9;
  transform: translateY(-1px);
}

@keyframes rv-wave-drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(6px, -4px, 0) scale(1.012); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes rv-wave-drift-alt {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-7px, 5px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

@media (max-width: 991.98px) {
  .rv-login .rv-login-side {
    min-height: 100vh;
    padding: 1rem !important;
  }

  .rv-login .rv-login-side::before {
    width: 220px;
    height: 220px;
    top: -85px;
    right: -100px;
  }

  .rv-login .rv-login-side::after {
    width: 165px;
    height: 165px;
    bottom: 45px;
    left: -55px;
  }

  .rv-login .rv-login-card {
    max-width: 400px;
    padding: 1.15rem 1.05rem 1rem;
    margin: 0 auto;
    border-radius: 1rem;
  }
}

@media (max-width: 1360px) {
  .rv-login .rv-login-cover {
    padding-inline: 2.5rem;
  }

  .rv-login .rv-login-graphic {
    width: min(96%, 820px);
  }

  .rv-login .rv-g-center {
    width: 13.2rem;
    height: 13.2rem;
  }

  .rv-login .rv-g-chip {
    width: 6.8rem;
    height: 6.8rem;
  }

  .rv-login .rv-g-chip i {
    font-size: 2.2rem;
  }

  .rv-login .rv-login-cover-brand img {
    max-width: 285px;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .rv-login .rv-login-side {
    padding: 1.75rem !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .rv-login .rv-login-card,
  .rv-login .rv-login-card.w-px-400 {
    width: min(100%, 470px) !important;
    max-width: 470px !important;
  }
}

@media (max-width: 1180px) {
  .rv-login .rv-login-cover {
    padding-top: 7.8rem;
    padding-inline: 1.7rem;
  }

  .rv-login .rv-login-graphic {
    width: min(98%, 760px);
  }

  .rv-login .rv-g-frame {
    inset: 6% 7% 7% 9%;
  }
}

@media (max-width: 480px) {
  .rv-login .rv-login-card {
    padding: 1rem 0.9rem;
    box-shadow: 0 12px 28px -22px rgba(52, 89, 138, 0.45);
  }

  .rv-login .rv-login-brand img {
    max-width: 245px;
  }

  .rv-login h3 {
    font-size: 1.4rem;
  }
}

/* ==========================================================================
   Historial de Transacciones - Citibank Payments
   ========================================================================== */

/* Contenedor y línea de tiempo */
.timeline-transaction {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    padding-left: 0;
}

.timeline-item-transaction {
    position: relative;
    padding-left: 2.5rem;
    padding-bottom: 1rem;
    border-left: 1px solid rgba(67, 89, 113, 0.1);
}

.timeline-item-transaction:last-child {
    border-left-color: transparent;
    padding-bottom: 0;
}

.timeline-indicator-transaction {
    position: absolute;
    left: -0.65rem;
    top: 0;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    font-size: 0.85rem;
}

.timeline-event-transaction {
    position: relative;
    padding-bottom: 0.5rem;
}

/* Botones para mostrar historial */
.toggle-history {
    transition: all 0.2s ease;
}

.toggle-history:hover {
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}

.toggle-history.active {
    background-color: #e7e7ff;
    color: #696cff;
    border-color: #696cff;
}

.btn-text-secondary {
    color: #697a8d;
    background-color: transparent;
    border-color: transparent;
}

.btn-text-secondary:hover {
    color: #697a8d;
    background-color: rgba(67, 89, 113, 0.1);
}

/* Filas de detalles */
.history-detail-row {
    background-color: transparent;
    transition: all 0.3s ease;
}

.history-detail-row td {
    padding: 0 !important;
    border-top: none !important;
}

/* Contenedor de detalles */
.history-detail-container {
    margin: 0.5rem 1rem 1.5rem 1rem;
    border: 1px solid rgba(67, 89, 113, 0.1);
    border-radius: 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(161, 172, 184, 0.15);
}

.history-header {
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid rgba(67, 89, 113, 0.1);
    background-color: #f5f5f9;
    border-radius: 0.375rem 0.375rem 0 0;
}

.history-body {
    padding: 1rem 1.5rem;
    background-color: #fff;
    border-radius: 0 0 0.375rem 0.375rem;
}

/* ==========================================================================
   Nautical Miles - Estilos personalizados
   ========================================================================== */

/* Swiper para millas náuticas - permitir altura automática */
#swiper-3d-coverflow-effect {
    height: auto !important;
    min-height: 500px;
}

/* Slides de millas náuticas - permitir altura automática */
#swiper-3d-coverflow-effect .swiper-slide {
    height: auto !important;
    display: flex;
    align-items: stretch;
    background-color: transparent !important;
    padding: 1rem 0 !important;
}

/* Contenedor de imagen de millas náuticas */
.nm-image-container {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cards de millas náuticas - altura automática */
#swiper-3d-coverflow-effect .swiper-slide .card {
    height: auto !important;
    min-height: 100%;
}

/* Asegurar que el contenido se vea completo */
#swiper-3d-coverflow-effect .swiper-slide .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.background-rowe{
  background-color: #CC3333 !important;
  color: #fff
}

.background-perlav{
    background-color: #65CEA7 !important;
    color: #fff
}

.background-garbis{
   background-color: #5B4BDB !important;
   color: #fff
}

/* Modern flatpickr vacation calendar styles */

/* Weekend days - light gray background */
.flatpickr-calendar .flatpickr-day.weekend-day {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef) !important;
    color: #6c757d !important;
    border: 1px solid #dee2e6 !important;
}

/* Reserved/Busy days - modern red gradient */
.flatpickr-calendar .flatpickr-day.reserved-day {
    background: linear-gradient(135deg, #dc3545, #c82333) !important;
    color: white !important;
    border: 1px solid #bd2130 !important;
    font-weight: 600 !important;
}

/* Holiday days - modern purple gradient */
.flatpickr-calendar .flatpickr-day.holiday-day {
    background: linear-gradient(135deg, #6f42c1, #5a32a3) !important;
    color: white !important;
    border: 1px solid #4c2a92 !important;
    font-weight: 600 !important;
}

/* Official holidays - modern orange gradient with special styling */
.flatpickr-calendar .flatpickr-day.official-holiday-day {
    background: linear-gradient(135deg, #fd7e14, #e55a0a) !important;
    color: white !important;
    border: 2px solid #cc4a00 !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 4px rgba(253, 126, 20, 0.3) !important;
}

/* Disabled state styles */
.flatpickr-calendar .flatpickr-day.flatpickr-disabled.reserved-day,
.flatpickr-calendar .flatpickr-day.flatpickr-disabled.holiday-day {
    opacity: 0.8 !important;
    cursor: not-allowed !important;
}

/* Hover effects */
.flatpickr-calendar .flatpickr-day.reserved-day:hover:not(.flatpickr-disabled) {
    background: linear-gradient(135deg, #e74c3c, #c0392b) !important;
    transform: scale(1.05);
    transition: all 0.2s ease;
}

.flatpickr-calendar .flatpickr-day.holiday-day:hover:not(.flatpickr-disabled) {
    background: linear-gradient(135deg, #8e44ad, #71368a) !important;
    transform: scale(1.05);
    transition: all 0.2s ease;
}

.flatpickr-calendar .flatpickr-day.official-holiday-day:hover:not(.flatpickr-disabled) {
    background: linear-gradient(135deg, #f39c12, #d35400) !important;
    transform: scale(1.05);
    transition: all 0.2s ease;
}

/* Add subtle animations */
.flatpickr-calendar .flatpickr-day.reserved-day,
.flatpickr-calendar .flatpickr-day.holiday-day,
.flatpickr-calendar .flatpickr-day.official-holiday-day {
    transition: all 0.2s ease-in-out;
}

/* Weekend styling for better contrast */
.flatpickr-calendar .flatpickr-day.weekend-day:hover {
    background: linear-gradient(135deg, #e9ecef, #dee2e6) !important;
}

/* Business Card User Profile Styles */
.business-card-popup .swal2-popup {
    border-radius: 20px !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25) !important;
    overflow: visible !important;
    background: transparent !important;
}

.business-card-popup .swal2-backdrop {
    border-radius: 20px;
}

.business-card-html-container {
    padding: 0 !important;
    margin: 0 !important;
}

.business-card-container {
    position: relative;
    width: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.business-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Efectos de Apertura Elegantes */
@keyframes elegantFadeIn {
    0% {
        transform: scale(0.7) translateY(50px);
        opacity: 0;
        filter: blur(8px);
    }
    50% {
        transform: scale(1.02) translateY(-10px);
        opacity: 0.9;
        filter: blur(2px);
    }
    100% {
        transform: scale(1) translateY(0px);
        opacity: 1;
        filter: blur(0px);
    }
}

@keyframes backdropFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Efectos de Cierre Espectaculares - Simplificado */
@keyframes elegantFadeOut {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
        filter: blur(0px);
    }
    30% {
        transform: scale(1.05) rotate(3deg);
        opacity: 0.9;
        filter: blur(0.5px);
    }
    70% {
        transform: scale(0.85) rotate(-2deg);
        opacity: 0.4;
        filter: blur(2px);
    }
    100% {
        transform: scale(0.7) rotate(1deg);
        opacity: 0;
        filter: blur(5px);
    }
}

@keyframes simpleBackdropFade {
    0% {
        opacity: 1;
        background: rgba(0, 0, 0, 0.4);
    }
    100% {
        opacity: 0;
        background: rgba(0, 0, 0, 0);
    }
}

@keyframes smoothDissolve {
    0% {
        transform: scale(1);
        opacity: 1;
        filter: blur(0px);
    }
    100% {
        transform: scale(0.8);
        opacity: 0;
        filter: blur(5px);
    }
}

/* ====================================
   PROFILE AVATAR MODERN STYLING
   ==================================== */

/* Modern profile avatar with elegant border */
.navbar-dropdown.dropdown-user .avatar img,
.dropdown-menu .avatar img {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #7367f0, #8a7ff4, #9d97f7) border-box;
    box-shadow: 0 4px 12px rgba(115, 103, 240, 0.15),
                0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.navbar-dropdown.dropdown-user .avatar img:hover {
    box-shadow: 0 6px 20px rgba(115, 103, 240, 0.25),
                0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

/* Alternative: Subtle gradient border for all avatars */
.avatar img.rounded-circle {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, rgba(115, 103, 240, 0.3), rgba(157, 151, 247, 0.2)) border-box;
    box-shadow: 0 2px 8px rgba(115, 103, 240, 0.1);
    transition: all 0.3s ease;
}

.avatar img.rounded-circle:hover {
    box-shadow: 0 4px 12px rgba(115, 103, 240, 0.2);
    transform: translateY(-0.5px) scale(1.02);
}

/* Special styling for notification avatars */
.dropdown-notifications .avatar img {
    border: 1px solid rgba(115, 103, 240, 0.15);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

/* ====================================
   END PROFILE AVATAR STYLES
   ==================================== */

/* ====================================
   BIRTHDAY CELEBRATION CARD STYLES
   ==================================== */

/* Birthday and Anniversary Celebration Cards */

/* === BIRTHDAY CELEBRATION CARD === */
.birthday-celebration-card {
    background: linear-gradient(135deg, #7367f0, #8a7ff4, #9d97f7);
    border: none;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(115, 103, 240, 0.3);
    margin: 15px 0;
    overflow: hidden;
}

/* === ANNIVERSARY DECORATIVE ELEMENTS === */
.anniversary-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
}

.anniversary-stars-1 {
    position: absolute;
    top: 3px;
    right: 12px;
    font-size: 2rem;
    animation: sparkleFloat 3s ease-in-out infinite;
}

.anniversary-stars-2 {
    position: absolute;
    top: 5px;
    right: 50px;
    font-size: 1.5rem;
    animation: sparkleFloat 3s ease-in-out infinite;
}

/* === ANNIVERSARY YEARS BACKGROUND COOL === */
.anniversary-years-bg {
    z-index: 1;
    pointer-events: none;
    left: 10px !important;
}

.anniversary-number {
    margin-left: 10px;
    display: inline-block;
    font-size: 6rem;
    font-weight: 900;
    color: transparent;
    background: linear-gradient(to top right, rgba(186, 179, 252, 0.9), rgba(141, 151, 247, 0.6) 21.85%);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 0 18px rgba(186, 179, 252, 0.5),
    0 0 35px rgba(141, 151, 247, 0.4),
    2px 2px 4px rgba(115, 103, 240, 0.3);
    /*filter: drop-shadow(0 0 10px rgba(186, 179, 252, 0.6));
    animation: numberPulse 2s ease-in-out infinite alternate;*/
}

/* Responsive styles for anniversary number */
@media (max-width: 768px) {
    .birthday-celebration-card .anniversary-years-bg {
        left: 6px !important;
        top: 28px !important;
        transform: none !important;
    }
    
    .birthday-celebration-card .anniversary-number {
        font-size: 4rem !important;
        margin-left: 0 !important;
        opacity: 0.6 !important;
    }
}

@media (max-width: 576px) {
    .birthday-celebration-card .anniversary-years-bg {
        left: 6px !important;
        top: 28px !important;
        transform: none !important;
    }
    
    .birthday-celebration-card .anniversary-number {
        font-size: 3.2rem !important;
        margin-left: 0 !important;
        opacity: 0.5 !important;
    }
}

/* === ANIMATIONS === */
@keyframes sparkleFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-8px) rotate(15deg);
        opacity: 1;
    }
}

@keyframes numberPulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(186, 179, 252, 0.6));
    }
    100% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 20px rgba(141, 151, 247, 0.8));
    }
}

/* Birthday Animations */
@keyframes birthdayGlow {
    0% {
        box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
        transform: translateY(0px);
    }
    100% {
        box-shadow: 0 20px 45px rgba(102, 126, 234, 0.5);
        transform: translateY(-2px);
    }
}

@keyframes floatBalloons {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulseTitle {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes bounceEmojis {
    0%, 100% {
        transform: translateY(0px);
    }
    25% {
        transform: translateY(-5px);
    }
    75% {
        transform: translateY(-3px);
    }
}

@keyframes rotateConfetti {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* === BIRTHDAY CONFETTI DECORATIONS === */
.birthday-confetti {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 10;
    overflow: hidden;
}

.confetti-left {
    position: absolute;
    top: -5px;
    left: 10px;
    font-size: 1.2rem;
    animation: confettiFallLeft 3s infinite linear;
}

.confetti-left-2 {
    position: absolute;
    top: -15px;
    left: 25px;
    font-size: 1rem;
    animation: confettiFallLeft 3.5s infinite linear 0.5s;
}

.confetti-left-3 {
    position: absolute;
    top: -10px;
    left: 40px;
    font-size: 0.9rem;
    animation: confettiFallLeft 4s infinite linear 1s;
}

.confetti-right {
    position: absolute;
    top: -5px;
    right: 10px;
    font-size: 1.2rem;
    animation: confettiFallRight 3.2s infinite linear;
}

.confetti-right-2 {
    position: absolute;
    top: -15px;
    right: 25px;
    font-size: 1rem;
    animation: confettiFallRight 3.8s infinite linear 0.7s;
}

.confetti-right-3 {
    position: absolute;
    top: -10px;
    right: 40px;
    font-size: 0.9rem;
    animation: confettiFallRight 4.2s infinite linear 1.3s;
}

/* === CONFETTI ANIMATIONS === */
@keyframes confettiFallLeft {
    0% {
        transform: translateY(-20px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(150px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes confettiFallRight {
    0% {
        transform: translateY(-20px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(150px) rotate(-360deg);
        opacity: 0;
    }
}

/* Responsive adjustments for birthday card */
@media (max-width: 768px) {
    .birthday-celebration-card .card-body {
        padding: 2rem 1.5rem;
    }
    
    .birthday-title {
        font-size: 2rem;
    }
    
    .birthday-name {
        font-size: 1.5rem;
    }
    
    .birthday-message {
        font-size: 1rem;
    }
    
    .birthday-balloons, .birthday-emojis {
        font-size: 1.5rem;
    }
    
    /* Adjust confetti for mobile */
    .confetti-left, .confetti-right {
        font-size: 1rem;
    }
    
    .confetti-left-2, .confetti-right-2 {
        font-size: 0.9rem;
    }
    
    .confetti-left-3, .confetti-right-3 {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    /* Smaller confetti on very small screens */
    .confetti-left, .confetti-right {
        font-size: 0.9rem;
    }
    
    .confetti-left-2, .confetti-right-2 {
        font-size: 0.8rem;
    }
    
    .confetti-left-3, .confetti-right-3 {
        font-size: 0.7rem;
    }
}

/* ====================================
   END BIRTHDAY STYLES
   ==================================== */

@keyframes backdropFadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes sparkleEffect {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0;
    }
    50% {
        transform: translateY(-20px) scale(1.5);
        opacity: 1;
    }
}

/* Clases para aplicar efectos */
.business-card-opening {
    animation: elegantFadeIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.business-card-closing {
    animation: smoothDissolve 0.4s cubic-bezier(0.55, 0.085, 0.68, 0.53) forwards;
}

.backdrop-opening {
    animation: backdropFadeIn 0.6s ease-out forwards;
}

.backdrop-closing {
    animation: backdropFadeOut 0.4s ease-out forwards;
}

.business-card .card-header {
    height: 80px;
    background: linear-gradient(135deg, #696de8 0%, #5f67ea 50%, #5865f2 100%);
    position: relative;
    overflow: hidden;
}

.business-card .card-header.background-rowe {
    background: linear-gradient(135deg, #696de8 0%, #5f67ea 50%, #5865f2 100%);
}

.business-card .card-header.background-garbis {
    background: linear-gradient(135deg, #ee5a6f 0%, #f06292 50%, #ec407a 100%);
}

.business-card .card-header.background-perlav {
    background: linear-gradient(135deg, #26c6da 0%, #29b6d6 50%, #00acc1 100%);
}

.business-card .card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    animation: business-card-shimmer 3s infinite;
}

@keyframes business-card-shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.business-card .card-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.business-card .card-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.business-card .card-close-btn i {
    color: white;
    font-size: 14px;
}

.business-card .card-avatar-section {
    display: flex;
    justify-content: center;
    margin-top: -40px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.business-card .avatar-container {
    position: relative;
    width: 80px;
    height: 80px;
}

.business-card .user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

.business-card .user-initials {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid white;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.business-card .special-badge {
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
    color: white;
    padding: 8px 12px;
    border-radius: 25px;
    margin: 5px 15px;
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    animation: business-card-pulse 2s infinite;
}

.business-card .birthday-badge {
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
}

.business-card .anniversary-badge {
    background: linear-gradient(135deg, #4ECDC4, #44A08D);
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

@keyframes business-card-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.business-card .badge-text {
    margin-left: 5px;
}

.business-card .card-main-info {
    text-align: center;
    padding: 0 20px 20px;
    background: white;
}

.business-card .user-name {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 8px 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.business-card .user-position {
    font-size: 16px;
    color: #667eea;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.business-card .user-department {
    font-size: 14px;
    color: #7f8c8d;
    margin: 0;
    font-weight: 500;
}

.business-card .card-details {
    background: white;
    padding: 20px;
}

.business-card .detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #f8f9fa;
}

.business-card .detail-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.business-card .detail-item i {
    width: 18px;
    margin-right: 18px;
    flex-shrink: 0;
    text-align: center;
    color: #6c757d;
    font-size: 14px;
}

.business-card .detail-label {
    font-size: 14px;
    color: #6c757d;
    font-weight: 600;
    min-width: 130px;
    margin-right: 15px;
    text-align: left;
}

.business-card .detail-value {
    font-size: 14px;
    color: #495057;
    font-weight: 500;
    flex: 1;
    text-align: left;
    word-break: break-word;
}

.business-card .motivational-message {
    background: linear-gradient(135deg, #ffeaa7, #fdcb6e);
    color: #2d3436;
    padding: 15px 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.business-card .motivational-message span {
    margin-left: 5px;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .business-card-popup .swal2-popup {
        width: 95% !important;
        margin: 0 auto !important;
        max-width: 380px !important;
    }
    
    .business-card .user-name {
        font-size: 18px;
    }
    
    .business-card .user-position {
        font-size: 14px;
    }
    
    .business-card .user-department {
        font-size: 13px;
    }
    
    .business-card .detail-label {
        min-width: 110px;
        font-size: 13px;
    }
    
    .business-card .detail-value {
        font-size: 13px;
    }
    
    .business-card .card-details {
        padding: 15px;
    }
    
    .business-card .detail-item {
        padding: 10px 0;
        margin-bottom: 12px;
    }
    
    .business-card .detail-item i {
        width: 16px;
        margin-right: 15px;
        font-size: 13px;
    }
}
