@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bs-primary: #ff6600 !important;
  --bs-pagination-active-bg: #ff6600 !important;
  --brand-orange: #ff6600;
  --brand-orange-light: #fff0e6;
  --brand-orange-dark: #e65c00;
  --brand-dark: #0f172a;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--brand-dark);
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

body.with-navbar {
  padding-top: 80px;
}

.text-brand-orange {
  color: var(--brand-orange) !important;
}

.bg-brand-orange-light {
  background-color: var(--brand-orange-light) !important;
}

.btn-brand-orange {
  background-color: #ff6600 !important;
  /* Fallback */
  background-color: var(--brand-orange) !important;
  color: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.btn-brand-orange:hover {
  background-color: var(--brand-orange-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

/* Cambiar el color del botón principal */
.btn-primary {
  background-color: #ff6600 !important;
  /* Color naranja */
  border-color: #ff6600 !important;
}

/* Cambiar el color del botón en hover */
.btn-primary:hover {
  background-color: #e65c00 !important;
  /* Un tono más oscuro */
  border-color: #e65c00 !important;
}

/* Cambiar los botones específicos de DataTables */
.dataTables_wrapper .dataTables_paginate .paginate_button,
.dataTables_wrapper .dataTables_filter .btn-primary {
  background-color: #ff6600 !important;
  border-color: #ff6600 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background-color: #e65c00 !important;
  border-color: #e65c00 !important;
}

/* Cambiar el color del texto */
.btn-primary {
  color: white !important;
}

.page-item .active {
  background-color: #ff6600 !important;
}

.p-3 {
  padding: 1rem;
}

.dataTables_filter {
  display: flex;
  align-items: center;
  gap: 10px;
  /* Espaciado entre el cuadro de búsqueda y el botón */
}

.dataTables_filter label {
  margin: 0;
  /* Eliminar márgenes del contenedor */
}

.btn-menu {
  border: none;
  background: none;
  font-size: 1.2rem;
  cursor: pointer;
}

.dropdown-menu {
  min-width: 150px;
}

.add-field-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.add-field-container input {
  flex: 1;
}

.help-text {
  font-size: 0.9rem;
  color: #6c757d;
  margin-top: -8px;
}

.field-list {
  margin-top: 20px;
}

.delete-icon {
  color: red;
  cursor: pointer;
  font-size: 1.2rem;
}

.btn-sportid {
  --bs-btn-color: #ffff !important;
  --bs-btn-bg: #ff6600 !important;
  --bs-btn-border-color: #ff6600 !important;
  --bs-btn-hover-color: #fff !important;
  --bs-btn-hover-bg: #4d4d4d !important;
  --bs-btn-hover-border-color: #4d4d4d !important;
  --bs-btn-focus-shadow-rgb: 49, 132, 253 !important;
  --bs-btn-active-color: #fff !important;
  --bs-btn-active-bg: #4d4d4d !important;
  --bs-btn-active-border-color: #4d4d4d !important;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125) !important;
  --bs-btn-disabled-color: #fff !important;
  --bs-btn-disabled-bg: #ff6600 !important;
  --bs-btn-disabled-border-color: #ff6600 !important;
}

.container {
  padding: 60px 15px 0;
}

input:checked {
  background-color: #ff6600 !important;
  border-color: #ff6600 !important;
}

.cascading-right {
  margin-right: -70px;
}

@media (max-width: 991.98px) {
  .cascading-right {
    margin-right: 0;
  }
}

.left-side {
  background-color: #f8f9fa;
  /* Color de fondo para el lado izquierdo */
  display: flex;
  align-items: center;
  justify-content: center;
}

.right-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Asegura que la imagen se estire y cubra el espacio */
}

.split-container {
  height: 100vh;
  /* Ocupa toda la altura de la ventana */
}

.logo {
  height: 50px;
}

.login {
  backdrop-filter: blur(30px);
  width: 80%;
  margin-left: auto;
  margin-top: 49px;
  height: 550px !important;
}

.alert-text {
  color: red !important;
  font-weight: bolder;
}

.nav-item:hover {
  background-color: #f9d593;
  /* Cambia el color de fondo */
  transition: background-color 0.3s ease;
  /* Suaviza la transición */
}

.nav-item .nav-link {
  color: #000;
  /* Asegura que el texto tenga un buen contraste */
  text-decoration: none;
  /* Quita el subrayado si es necesario */
}

.nav-item:hover .nav-link {
  color: #ff6600;
  /* Cambia el color del texto al pasar el cursor */
}

.nav-tabs .nav-link {
  color: #43484c;
}

.nav-tabs .nav-link.disabled {
  color: #c5c9cc;
}

.nav-tabs .nav-link.active {
  color: #000000;
}

.nav-tabs .nav-link:hover {
  color: #ff6600;
}

.nav-link.disabled {
  color: #c5c9cc;
}

.nav-link.disabled,
.nav-link:disabled {
  color: #c5c9cc !important;
  pointer-events: none;
  cursor: default;
}

.logo_menu {
  height: 90px;
  width: auto;
  margin-left: 25%;
}

.bg-color {
  background-color: #ff6600;
  color: #fff;
  font-weight: bold;
}

.carousel-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
  /* Por encima del contenido */
}

.datatable-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.dt-toolbar {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.menu-container {
  margin-left: auto;
}

.btn-group-vertical {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.dt-search {
  display: flex;
  align-items: center;
  gap: 10px;
  /* Espaciado entre el cuadro de búsqueda y el botón */
}

.dt-search label {
  margin: 0;
  /* Eliminar márgenes del contenedor */
}

.btn-menu {
  border: none;
  background: none;
  font-size: 1.2rem;
  cursor: pointer;
}

.dropdown-menu {
  min-width: 150px;
}

.form-floating>label {
  margin-left: 10px;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Landing Page Specific Styles */
.hero-section {
  position: relative;
  padding: 120px 0 100px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.7) 100%),
    url('/static/assets/images/landing/hero.png');
  background-size: cover;
  background-position: center;
  color: white;
  overflow: hidden;
}

.hero-content {
  max-width: 700px;
}

.feature-card {
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: white;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: var(--brand-orange-light);
  color: var(--brand-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.stats-bar {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-radius: 24px;
  padding: 2.5rem;
  margin-top: -80px;
  position: relative;
  z-index: 10;
}

.benefit-item {
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.persona-card {
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.persona-card:hover {
  transform: translateY(-12px);
}

.landing-footer {
  background: var(--brand-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
}

.mockup-container {
  perspective: 1000px;
}

.mockup-img {
  transform: rotateY(-10deg) rotateX(5deg);
  transition: all 0.5s ease;
  box-shadow: -20px 20px 40px rgba(0, 0, 0, 0.2);
  border-radius: 20px;
}

.feature-card:hover .mockup-img {
  transform: rotateY(0) rotateX(0);
}

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 3rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--brand-orange);
  border-radius: 2px;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.navbar-landing {
  transition: all 0.3s ease;
  padding: 1.5rem 0;
}

.navbar-landing .nav-link {
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar-landing .nav-link:hover {
  color: var(--brand-orange) !important;
}

.navbar-logo {
  transition: all 0.3s ease;
  filter: brightness(0) invert(1);
  /* Pure white by default on dark hero */
}

.navbar-landing.scrolled .navbar-logo {
  filter: none;
  /* Original color on white background */
}

.navbar-landing.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.8rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.navbar-landing.scrolled .nav-link {
  color: var(--brand-dark) !important;
  text-shadow: none;
}

.navbar-landing.scrolled .navbar-brand {
  color: var(--brand-dark) !important;
}

.fw-extrabold {
  font-weight: 800;
}

/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}