/* ======================================================================
   Variables
   ====================================================================== */
:root {
  --violeta: #5625a7;
  --naranja: #f7931d;
}

/* ======================================================================
   Reset & Base
   ====================================================================== */
html,
body {
  margin: 0;
  padding: 0;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  background: #fff;
  color: #000;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  text-decoration: none;
}

ul {
  padding-left: 1rem;
}

/* Placeholders (unificado) */
input::placeholder {
  color: white !important;
  opacity: 1;
}

/* Variante específica para el bloque de seleccionar calles */
#seleccionar-calles input {
  color: white;
  background-color: #2a2d3a;
  border: 1px solid #444;
}

#seleccionar-calles input::placeholder {
  color: #bbbbbb;
  opacity: 1;
}

/* El main crece dentro del body flex, sin manejar el scroll principal */
main {
  flex: 1 0 auto;
  min-width: 0;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

/* ======================================================================
   Navbar
   ====================================================================== */
.navbar {
  background: #fff;
}

.navbar-nav .nav-link {
  color: #000;
  font-weight: 500;
}

.navbar-nav .btn {
  border-radius: 20px;
  font-size: 14px;
}

/* ======================================================================
   Hero
   ====================================================================== */
.hero {
  background: url('../img/hero-bg.png') center/cover no-repeat;
  padding: 4rem 0;
}

.hero .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.hero-text h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
}

.hero-text p {
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero img {
  max-width: 320px;
}

/* ======================================================================
   Botones
   ====================================================================== */
.btn-warning {
  background: var(--naranja);
  border: none;
  color: white;
  font-weight: bold;
}

.btn-violet {
  background: var(--violeta);
  border: none;
  color: white;
  font-weight: bold;
}

/* Hover genérico en <button> */
button:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* ======================================================================
   Secciones & Cards
   ====================================================================== */
.section {
  padding: 3rem 0;
}

.card {
  border-radius: 16px;
  border: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.card h5 {
  font-weight: 700;
}

.pricing {
  font-weight: 700;
  color: var(--naranja);
}

.borde-planes {
  border: 10px solid #8B4BD4; /* violeta por ejemplo */
}

/* ======================================================================
   Tabs personalizados
   ====================================================================== */
.custom-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  padding-top: 30px;
  overflow: visible !important; /* clave para que no se corten sombras */
}

.custom-tabs .tab-button {
  background-color: #1e1f26 !important;
  color: #fff !important;
  border: none;
  border-radius: 999px;
  padding: 10px 30px;
  font-weight: 600;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s, color 0.3s;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.custom-tabs .tab-button.active,
.custom-tabs .tab-button.active:hover,
.custom-tabs .tab-button.active:focus {
  background-color: #f7931d !important;
  color: #000 !important;
}

.custom-tabs .tab-button:not(.active):hover,
.custom-tabs .tab-button:not(.active):focus {
  background-color: #d97e17 !important;
  color: #fff !important;
}

.custom-tabs .tab-button:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Tabs BS */
.nav-tabs {
  position: relative;
  z-index: 10;
  overflow: visible !important;
  padding-bottom: 20px;
  border-bottom: none !important;
}

.nav-tabs .nav-link {
  border-radius: 0 0 50px 50px;
  margin-bottom: -1px; /* Evita que se corte al tocar el borde del contenedor */
  z-index: 2;
  position: relative;
}

#planesTabs {
  overflow: visible !important;
}

#planesTabs .nav-link {
  border-radius: 999px !important;
  margin-bottom: 0 !important;
  position: relative;
  z-index: 2;
}

.nav-tabs > li.nav-item {
  overflow: visible !important;
}

/* ======================================================================
   Scroll horizontal de planes
   ====================================================================== */
.scroll-container {
  position: relative;
  width: 100%;
}

.scroll-content {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 20px;
  padding: 20px 40px;
  max-width: 100vw;
  box-sizing: border-box;
}

.plan-card {
  max-width: 400px;
}

.arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #5625a7;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 2;
  border-radius: 50%;
}

.arrow-left {
  left: 10px;
}

.arrow-right {
  right: 10px;
}

/* ======================================================================
   Sidebar
   ====================================================================== */
.sidebar a.active i {
  color: #f7931d;
}

.sidebar a i {
  transition: color 0.3s;
}

.sidebar a:hover i {
  color: #f7931d;
}

/* ======================================================================
   Tablas
   ====================================================================== */
.table {
  background-color: transparent;
  color: white;
}

.table th {
  color: #aaa;
}

.table td {
  background-color: transparent;
}

.table tr {
  background-color: transparent;
}

/* ======================================================================
   Footer
   ====================================================================== */
footer {
  bottom: 0;
  background: #fff;
  padding: 3rem 0;
  font-size: 14px;
}

footer h5 {
  font-weight: bold;
}

footer a {
  color: #000;
}

/* ======================================================================
   BLOQUE VIEJO (por si querés volver atrás o comparar)
   ====================================================================== */
/*
body {

  margin: 0;
  background: #fff;
  color: #000;
}

input::placeholder {
  color: white !important;
  opacity: 1;
}

#seleccionar-calles input {
  color: white;
  background-color: #2a2d3a;
  border: 1px solid #444;
}
#seleccionar-calles input::placeholder {
  color: #bbbbbb;
  opacity: 1;
}

input::placeholder {
  color: white !important;
  opacity: 1;
}

html, body {
  margin: 0;
  padding: 0;
  max-width: 100vw;
  overflow-x: hidden;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 100vw;
  overflow-x: hidden;
}
main {
  flex: 1 0 auto;
  min-width: 0;
  width: 100%;
  max-width: 100vw;
  height: auto;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
}
*/
