/**
 * ============================================================================
 * SISTEMA OUR TOUR - ESTILOS CORPORATIVOS DE MARCA
 * ============================================================================
 * Autor: Horacio Alfaro Delgado
 * Fecha: 23/09/2026
 * Codigo: OU-MS-B3-0010
 * Descripcion: Hoja de estilos basada en el manual de identidad corporativa de
 *              OUR TOUR (Colores institucionales, tipografias Konnect, Geologica
 *              e Inter Tight, componentes UI, cabecera, navegacion y fondos).
 * ============================================================================
 * Modificado: Maciel Balderrama Delgado Fecha: 26/10/2026, Codigo: OU-MS-A1-0069
 * Descripcion: Se permite el desplazamiento interno en modales y alertas con contenido largo.
 * ============================================================================
 */

/* --------------------------------------------------------------------------
   1. FUENTES TIPOGRÁFICAS OFICIALES (KONNECT, GEOLOGICA, INTER TIGHT)
   -------------------------------------------------------------------------- */

@font-face {
  font-family: 'Konnect';
  src: url('../fonts/ourtour/KonnectRegular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Konnect';
  src: url('../fonts/ourtour/KonnectMedium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Konnect';
  src: url('../fonts/ourtour/KonnectSemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Konnect';
  src: url('../fonts/ourtour/KonnectBold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Konnect';
  src: url('../fonts/ourtour/KonnectExtraBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Konnect';
  src: url('../fonts/ourtour/KonnectBlack.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geologica';
  src: url('../fonts/ourtour/Geologica-VariableFont.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter Tight';
  src: url('../fonts/ourtour/InterTight-VariableFont.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. VARIABLES DE COLOR Y SISTEMA DE DISEÑO
   -------------------------------------------------------------------------- */
:root {
  /* Paleta Corporativa Principal OUR TOUR */
  --ourtour-petroleo: #004751;
  --ourtour-petroleo-dark: #002d33;
  --ourtour-petroleo-light: #00606e;
  --ourtour-terracota: #D84C2B;
  --ourtour-terracota-dark: #b3391c;
  --ourtour-terracota-light: #e65e3d;
  --ourtour-crema: #FFEFAE;
  --ourtour-crema-soft: #fff9e6;
  --ourtour-charcoal: #1A1A1A;
  --ourtour-sidebar-bg: #052025;
  --ourtour-sidebar-hover: #0a333b;

  /* Neutros y Superficies */
  --ourtour-bg-page: #f4f7f8;
  --ourtour-text-main: #232b2d;
  --ourtour-text-muted: #6c7c80;
  --ourtour-border-subtle: #dce5e7;

  /* Tipografías */
  --ourtour-font-heading: 'Konnect', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ourtour-font-body: 'Geologica', 'Inter Tight', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* --------------------------------------------------------------------------
   3. TIPOGRAFÍA GLOBAL Y ELEMENTOS BASE
   -------------------------------------------------------------------------- */
body {
  font-family: var(--ourtour-font-body) !important;
  color: var(--ourtour-text-main);
  background-color: var(--ourtour-bg-page);
}

h1, h2, h3, h4, h5, h6,
.card-head header,
.brand-holder,
.nav-tabs > li > a,
.btn {
  font-family: var(--ourtour-font-heading) !important;
}

h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.02em;
}

/* --------------------------------------------------------------------------
   4. CABECERA PRINCIPAL (#header)
   -------------------------------------------------------------------------- */
#header {
  background: var(--ourtour-petroleo) !important;
  color: #ffffff !important;
  border-bottom: 3px solid var(--ourtour-terracota) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease-in-out;
}

#header .headerbar-left {
  background: transparent !important;
}

#header .headerbar-right {
  background: transparent !important;
}

/* El tema separa la segunda fila del fondo de #header en pantallas pequenas. */
@media (max-width: 768px) {
  #header,
  .header-fixed #header {
    position: sticky;
    top: 0;
    height: auto;
    z-index: 1010;
  }

  .header-fixed #header:before {
    display: none;
  }

  #header ~ #base #content {
    padding-top: 0;
  }

  #header .headerbar-left,
  .header-fixed #header .headerbar-left {
    position: relative;
    float: none;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  #header .headerbar-right {
    position: relative;
    top: auto;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 68px;
    padding: 0 8px;
    box-shadow: none;
  }

  #header .headerbar-right .header-nav-profile {
    position: static;
    float: none;
    order: -1;
    flex: 1;
    min-width: 0;
    margin: 0;
  }

  #header .header-nav-profile > .dropdown {
    float: none;
    width: 100%;
  }

  #header .header-nav-profile .dropdown > a,
  #header .header-nav-profile .dropdown.open > a {
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 68px;
    margin-top: 0;
    padding: 8px 22px 8px 0;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
  }

  #header .header-nav-profile .dropdown > a:after {
    top: 24px;
    right: 6px;
  }

  #header .header-nav-profile .dropdown img {
    width: 32px;
    height: 32px;
    opacity: 1;
    flex-shrink: 0;
  }

  #header .header-nav-profile .profile-info {
    display: block;
    min-width: 0;
    padding: 0 0 0 8px;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #header .header-nav-profile .profile-info small,
  #header .header-nav-profile .profile-info strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 1;
  }

  #header .headerbar-right .header-nav-options {
    display: flex;
    align-items: center;
    float: none;
    flex-shrink: 0;
    margin: 0 0 0 4px;
  }

  #header .headerbar-right .header-nav-options > li {
    float: none;
    padding: 0;
  }

  #header .headerbar-right .fechahora {
    display: none;
  }

  #header .headerbar-right .fa-clock-o {
    display: inline-block;
  }

  #header .headerbar-right .btn-icon-toggle {
    width: 40px;
    height: 44px;
    line-height: 44px;
  }

  #header .headerbar-right .btn-icon-toggle i {
    margin-right: 0;
  }

  #header .headerbar-right .dropdown-menu {
    min-width: 0;
    max-width: calc(100vw - 16px);
  }

  #header .headerbar-right .header-nav-options .dropdown-menu {
    top: 100%;
  }
}

/* Botones e iconos en la cabecera */
#header .btn-icon-toggle {
  color: #ffffff !important;
}

#header .btn-icon-toggle:hover {
  background-color: rgba(255, 255, 255, 0.15) !important;
  color: var(--ourtour-crema) !important;
}

#header .header-nav > li > a {
  color: #ffffff !important;
}

/* Brand holder en cabecera */
.header-nav-brand {
  display: flex;
  align-items: center;
  height: 60px;
}

.header-nav-brand .brand-holder {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-nav-brand .brand-logo-img {
  height: 38px;
  max-width: 170px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.header-nav-brand .brand-logo-img:hover {
  transform: scale(1.03);
}

.header-nav-brand .brand-text {
  font-family: var(--ourtour-font-heading) !important;
  font-weight: 700;
  font-size: 19px;
  color: #ffffff !important;
  letter-spacing: 0.5px;
}

.header-nav-brand .brand-tagline {
  font-size: 10px;
  color: var(--ourtour-crema);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  line-height: 1;
}

/* Reloj y Fecha en Cabecera */
.fechahora {
  color: #e2f0f2 !important;
  font-family: var(--ourtour-font-heading) !important;
  font-weight: 500;
}

#reloj {
  color: var(--ourtour-crema) !important;
  font-weight: 700;
  font-size: 13px;
}

#fecha {
  font-size: 11px;
  opacity: 0.9;
}

/* Notificaciones en Cabecera */
#NumNotificaciones {
  background-color: var(--ourtour-terracota) !important;
  color: #ffffff !important;
  font-weight: bold;
  box-shadow: 0 0 6px rgba(216, 76, 43, 0.6);
}

/* Perfil de Usuario en Cabecera */
#header .header-nav-profile .profile-info {
  color: #ffffff !important;
}

#header .header-nav-profile .profile-info small {
  color: var(--ourtour-crema) !important;
}

#header .header-nav-profile .profile-info strong font {
  color: var(--ourtour-crema) !important;
}

/* Dropdowns desde la cabecera */
#header .dropdown-menu {
  border-radius: 8px;
  border: 1px solid var(--ourtour-border-subtle);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

#header .dropdown-header {
  font-family: var(--ourtour-font-heading) !important;
  font-weight: 700;
  color: var(--ourtour-petroleo) !important;
  border-bottom: 2px solid var(--ourtour-crema);
  padding: 10px 15px;
}

/* --------------------------------------------------------------------------
   5. MENÚ LATERAL (#menubar)
   -------------------------------------------------------------------------- */
#menubar {
  background-color: var(--ourtour-sidebar-bg) !important;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
}

.menubar-inverse .menubar-scroll-panel {
  background-color: var(--ourtour-sidebar-bg) !important;
}

/* Ítems del menú */
.menubar-inverse .gui-folder > a,
.menubar-inverse .gui-controls > li > a {
  color: #c9d8da !important;
  font-family: var(--ourtour-font-body) !important;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
  border-left: 4px solid transparent;
}

.menubar-inverse .gui-controls > li > a:hover,
.menubar-inverse .gui-folder > a:hover {
  background-color: var(--ourtour-sidebar-hover) !important;
  color: #ffffff !important;
  border-left: 4px solid var(--ourtour-crema);
}

/* Menú activo o expandido */
.menubar-inverse .gui-controls > li.active > a,
.menubar-inverse .gui-controls > li.expanded > a {
  background: linear-gradient(90deg, rgba(216, 76, 43, 0.25) 0%, rgba(5, 32, 37, 0.8) 100%) !important;
  color: #ffffff !important;
  border-left: 4px solid var(--ourtour-terracota) !important;
  font-weight: 600;
}

/* Íconos del menú */
.menubar-inverse .gui-icon {
  color: #8da9ad !important;
  transition: color 0.2s ease;
}

.menubar-inverse .gui-controls > li.active > a .gui-icon,
.menubar-inverse .gui-controls > li.expanded > a .gui-icon,
.menubar-inverse .gui-controls > li > a:hover .gui-icon {
  color: var(--ourtour-crema) !important;
}

/* Submenús */
.menubar-inverse .gui-controls > li ul {
  background-color: #03161a !important;
}

.menubar-inverse .gui-controls > li ul > li > a {
  color: #a4bebf !important;
  font-size: 12.5px;
}

.menubar-inverse .gui-controls > li ul > li > a:hover {
  color: var(--ourtour-crema) !important;
  background-color: rgba(255, 255, 255, 0.05) !important;
}

.menubar-inverse .gui-controls > li ul > li.active > a {
  color: var(--ourtour-terracota-light) !important;
  font-weight: bold;
}

/* --------------------------------------------------------------------------
   6. BOTONES (BOTONES CORPORATIVOS)
   -------------------------------------------------------------------------- */
.btn-primary {
  background-color: var(--ourtour-petroleo) !important;
  border-color: var(--ourtour-petroleo) !important;
  color: #ffffff !important;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(0, 71, 81, 0.25);
  transition: all 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--ourtour-petroleo-dark) !important;
  border-color: var(--ourtour-petroleo-dark) !important;
  box-shadow: 0 4px 12px rgba(0, 71, 81, 0.4);
  transform: translateY(-1px);
}

/* Botón Terracota / Acento */
.btn-terracota,
.btn-accent,
.btn-warning {
  background-color: var(--ourtour-terracota) !important;
  border-color: var(--ourtour-terracota) !important;
  color: #ffffff !important;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(216, 76, 43, 0.25);
  transition: all 0.2s ease;
}

.btn-terracota:hover,
.btn-accent:hover,
.btn-warning:hover,
.btn-terracota:focus,
.btn-accent:focus,
.btn-warning:focus {
  background-color: var(--ourtour-terracota-dark) !important;
  border-color: var(--ourtour-terracota-dark) !important;
  box-shadow: 0 4px 12px rgba(216, 76, 43, 0.45);
  transform: translateY(-1px);
}

.btn-info {
  background-color: var(--ourtour-petroleo-light) !important;
  border-color: var(--ourtour-petroleo-light) !important;
  color: #ffffff !important;
}

.btn-info:hover {
  background-color: var(--ourtour-petroleo) !important;
  border-color: var(--ourtour-petroleo) !important;
}

/* Botón Crema de Contraste */
.btn-crema {
  background-color: var(--ourtour-crema) !important;
  border-color: var(--ourtour-crema) !important;
  color: var(--ourtour-charcoal) !important;
  font-weight: 700;
}

.btn-crema:hover {
  background-color: #f7e494 !important;
  color: var(--ourtour-petroleo) !important;
}

/* --------------------------------------------------------------------------
   7. TARJETAS Y PANELES (.card)
   -------------------------------------------------------------------------- */
.card {
  border-radius: 12px !important;
  border: 1px solid rgba(0, 71, 81, 0.08);
  box-shadow: 0 3px 12px rgba(0, 40, 50, 0.06);
  background: #ffffff;
  transition: box-shadow 0.25s ease;
}

.card:hover {
  box-shadow: 0 6px 20px rgba(0, 40, 50, 0.1);
}

.card-head {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  font-family: var(--ourtour-font-heading) !important;
}

.card-head.style-primary {
  background: linear-gradient(135deg, var(--ourtour-petroleo) 0%, var(--ourtour-petroleo-dark) 100%) !important;
  color: #ffffff !important;
  border-bottom: 2px solid var(--ourtour-terracota);
}

.card-head.style-primary header {
  color: #ffffff !important;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.card-head.style-accent,
.card-head.style-warning {
  background: linear-gradient(135deg, var(--ourtour-terracota) 0%, var(--ourtour-terracota-dark) 100%) !important;
  color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   8. FORMULARIOS, INPUTS Y CONTROLES
   -------------------------------------------------------------------------- */
.form-control:focus {
  border-color: var(--ourtour-petroleo) !important;
  box-shadow: 0 0 0 2px rgba(0, 71, 81, 0.18) !important;
}

.floating-label .form-control:focus ~ label {
  color: var(--ourtour-petroleo) !important;
  font-weight: 600;
}

/* Selector Select2 */
.select2-drop-active {
  border-color: var(--ourtour-petroleo) !important;
}

.select2-results .select2-highlighted {
  background-color: var(--ourtour-petroleo) !important;
  color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   9. TABLAS (.table)
   -------------------------------------------------------------------------- */
.table thead th {
  font-family: var(--ourtour-font-heading) !important;
  font-weight: 600;
  color: var(--ourtour-petroleo);
  border-bottom: 2px solid var(--ourtour-petroleo) !important;
  background-color: rgba(0, 71, 81, 0.03);
}

.table-hover tbody tr:hover {
  background-color: rgba(0, 71, 81, 0.04) !important;
}

/* Paginación */
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover {
  background-color: var(--ourtour-petroleo) !important;
  border-color: var(--ourtour-petroleo) !important;
}

/* --------------------------------------------------------------------------
   10. BADGES Y ETIQUETAS
   -------------------------------------------------------------------------- */
.badge.style-primary {
  background-color: var(--ourtour-petroleo) !important;
  color: #ffffff !important;
}

.badge.style-accent,
.badge.style-warning {
  background-color: var(--ourtour-terracota) !important;
  color: #ffffff !important;
}

.badge.style-crema {
  background-color: var(--ourtour-crema) !important;
  color: var(--ourtour-charcoal) !important;
}

/* --------------------------------------------------------------------------
   11. BREADCRUMBS Y MIGAS DE PAN
   -------------------------------------------------------------------------- */
.breadcrumb > .active {
  color: var(--ourtour-petroleo) !important;
  font-family: var(--ourtour-font-heading) !important;
  font-weight: 700;
}

.breadcrumb > li + li:before {
  color: var(--ourtour-terracota);
}

/* --------------------------------------------------------------------------
   12. PÁGINA INICIAL Y HERO ADVENTURE BANNER (ESTILOS ESPECIALES)
   -------------------------------------------------------------------------- */
.ourtour-hero-container {
  position: relative;
  background: linear-gradient(rgba(0, 45, 51, 0.72), rgba(0, 71, 81, 0.85)), 
              url('../img/backgrounds/ourtour-hero-landscape.jpg') no-repeat center center;
  background-size: cover;
  border-radius: 16px;
  padding: 45px 35px;
  color: #ffffff;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 45, 51, 0.35);
  overflow: hidden;
  border: 1px solid rgba(255, 239, 174, 0.2);
}

.ourtour-hero-pattern {
  position: absolute;
  right: -20px;
  top: -20px;
  width: 280px;
  opacity: 0.12;
  pointer-events: none;
}

.ourtour-hero-badge {
  display: inline-block;
  background: rgba(216, 76, 43, 0.9);
  color: #ffffff;
  font-family: var(--ourtour-font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(216, 76, 43, 0.4);
}

.ourtour-hero-title {
  font-family: var(--ourtour-font-heading) !important;
  font-weight: 800;
  font-size: 34px;
  line-height: 1.2;
  margin: 0 0 10px 0;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.ourtour-hero-tagline {
  font-family: var(--ourtour-font-heading) !important;
  font-weight: 600;
  font-size: 18px;
  color: var(--ourtour-crema);
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.ourtour-hero-subtitle {
  font-family: var(--ourtour-font-body);
  font-size: 15px;
  color: #e3eff0;
  max-width: 650px;
  margin-bottom: 25px;
  line-height: 1.5;
}

/* Tarjetas de acceso rápido con diseño corporativo */
.ourtour-quick-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  border: 1px solid var(--ourtour-border-subtle);
  box-shadow: 0 4px 15px rgba(0, 45, 51, 0.06);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ourtour-quick-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 71, 81, 0.16);
  border-color: var(--ourtour-petroleo);
}

.ourtour-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 15px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  transition: all 0.3s ease;
}

.ourtour-card-icon.petroleo {
  background: rgba(0, 71, 81, 0.1);
  color: var(--ourtour-petroleo);
}

.ourtour-card-icon.terracota {
  background: rgba(216, 76, 43, 0.1);
  color: var(--ourtour-terracota);
}

.ourtour-quick-card:hover .ourtour-card-icon.petroleo {
  background: var(--ourtour-petroleo);
  color: #ffffff;
}

.ourtour-quick-card:hover .ourtour-card-icon.terracota {
  background: var(--ourtour-terracota);
  color: #ffffff;
}

.ourtour-card-title {
  font-family: var(--ourtour-font-heading) !important;
  font-weight: 700;
  font-size: 17px;
  color: var(--ourtour-petroleo);
  margin-bottom: 8px;
}

.ourtour-card-desc {
  font-size: 13px;
  color: var(--ourtour-text-muted);
  margin-bottom: 18px;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   13. CLASES DE UTILIDAD DE MARCA
   -------------------------------------------------------------------------- */
.text-petroleo { color: var(--ourtour-petroleo) !important; }
.text-terracota { color: var(--ourtour-terracota) !important; }
.text-crema { color: var(--ourtour-crema) !important; }
.bg-petroleo { background-color: var(--ourtour-petroleo) !important; color: #ffffff !important; }
.bg-terracota { background-color: var(--ourtour-terracota) !important; color: #ffffff !important; }
.bg-crema { background-color: var(--ourtour-crema) !important; color: var(--ourtour-charcoal) !important; }

@media (min-width: 769px) {
  #header .header-nav-profile .dropdown.open > a {
    background: var(--ourtour-petroleo);
    margin-top: 0;
    padding: 12px;
    min-height: 64px;
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: none;
  }

  #header .header-nav-profile .dropdown.open > a:after {
    top: 22px;
    color: #ffffff;
  }

  #header .header-nav-profile .dropdown.open .profile-info small {
    opacity: 1;
  }

  #header .header-nav-profile .dropdown-menu {
    background: #ffffff;
    padding: 6px 0;
    overflow: hidden;
  }

  #header .header-nav-profile .dropdown-menu > li > a {
    color: var(--ourtour-petroleo);
    padding: 12px 18px;
  }

  #header .header-nav-profile .dropdown-menu > li > a:hover,
  #header .header-nav-profile .dropdown-menu > li > a:focus {
    background: rgba(0, 71, 81, 0.08);
    color: var(--ourtour-petroleo);
  }

  #header .header-nav-profile .dropdown-menu .dropdown-header {
    opacity: 1;
    border-bottom: 1px solid var(--ourtour-border-subtle);
  }
}

/* --------------------------------------------------------------------------
   14. NAVEGACIÓN Y COMPONENTES UI (NAV-PILLS, NAV-TABS, SWEETALERT2)
   -------------------------------------------------------------------------- */
/* Pestañas y Pills */
.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus,
.nav.nav-pills > li.active > a,
.nav.nav-pills > li.active > a:hover,
.nav.nav-pills > li.active > a:focus,
.nav-pills.nav-stacked > li.active > a,
.nav-pills.nav-stacked > li.active > a:hover,
.nav-pills.nav-stacked > li.active > a:focus {
  color: #ffffff !important;
  background-color: var(--ourtour-petroleo) !important;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 71, 81, 0.25);
}

.nav-pills > li > a {
  color: var(--ourtour-petroleo);
  font-family: var(--ourtour-font-heading);
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.nav-pills > li > a:hover,
.nav-pills > li > a:focus {
  background-color: rgba(0, 71, 81, 0.08) !important;
  color: var(--ourtour-petroleo-dark) !important;
}

/* Subnavegación lateral con iconos (.nav.nav-icon) */
.nav.nav-icon > li.active > a,
.nav.nav-icon > li.active > a:hover,
.nav.nav-icon > li.active > a:focus {
  background-color: var(--ourtour-petroleo) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 71, 81, 0.25);
}

.nav.nav-icon > li.active > a .glyphicon,
.nav.nav-icon > li.active > a .fa,
.nav.nav-icon > li.active > a .md {
  color: var(--ourtour-crema) !important;
}

.nav.nav-icon > li:not(.active) > a:hover {
  background-color: rgba(0, 71, 81, 0.08) !important;
  color: var(--ourtour-petroleo) !important;
}

.nav.nav-icon > li:not(.active) > a .glyphicon,
.nav.nav-icon > li:not(.active) > a .fa,
.nav.nav-icon > li:not(.active) > a .md {
  color: var(--ourtour-petroleo);
}

/* Nav Tabs estándar */
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
  color: var(--ourtour-petroleo) !important;
  border-bottom: 3px solid var(--ourtour-terracota) !important;
  font-weight: 700;
}

.nav-tabs > li > a {
  color: var(--ourtour-text-muted);
  font-family: var(--ourtour-font-heading);
  font-weight: 600;
  transition: all 0.2s ease;
}

.nav-tabs > li > a:hover {
  color: var(--ourtour-petroleo);
}

/* Botones SweetAlert2 con colores corporativos */
.swal2-styled.swal2-confirm {
  background-color: var(--ourtour-petroleo) !important;
  border-color: var(--ourtour-petroleo) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(0, 71, 81, 0.25) !important;
}

.swal2-styled.swal2-confirm:hover,
.swal2-styled.swal2-confirm:focus {
  background-color: var(--ourtour-petroleo-dark) !important;
  border-color: var(--ourtour-petroleo-dark) !important;
}

.swal2-styled.swal2-cancel {
  background-color: var(--ourtour-terracota) !important;
  border-color: var(--ourtour-terracota) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(216, 76, 43, 0.25) !important;
}

.swal2-styled.swal2-cancel:hover,
.swal2-styled.swal2-cancel:focus {
  background-color: var(--ourtour-terracota-dark) !important;
  border-color: var(--ourtour-terracota-dark) !important;
}

/* INICIO Mbalderrama, 26/10/2026, OU-MS-A1-0069 */
.modal {
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
}

.modal-dialog {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
}

.modal-content {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
}

.modal-header,
.modal-footer {
  flex: 0 0 auto;
}

.modal-body {
  flex: 1 1 auto;
  min-height: 0;
  max-height: calc(100vh - 180px);
  max-height: calc(100dvh - 180px);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
}

.sweet-overlay,
.swal2-container {
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.sweet-alert,
.swal2-popup {
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.sweet-alert {
  top: 50%;
  margin-top: 0;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}
/* FIN Mbalderrama, 26/10/2026, OU-MS-A1-0069 */
