/* mis planes */
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: auto;
  background: linear-gradient(135deg, #863182, #202671) !important;
  background-image: url("https://www.youcel.mx/images/common/bg-primary-curvas.png");
  background-size: cover;
}

main.container-fluid {
  min-height: 100vh;
  /* background: transparent; */
  padding-bottom: 80px;
}

/* main.bg-1 {
  min-height: 100vh;
  background: url("../img/youcel/fondo-youcel.png") no-repeat center center fixed;
  background-size: cover;
} */

main.bg-1::after {
  content: "";
  display: block;
  height: 12vh;
  /* Asegura que haya suficiente espacio */
}

main.bg-1 {
  padding-bottom: 80px;
  /* Ajusta este valor según el tamaño de tu footer */
}

.sidetitle {
  font-style: italic;
  margin-left: 0.5rem;
}

/* Variables de colores */
:root {
  --color-primary-50: rgb(243, 240, 250);
  --color-primary-100: rgb(225, 218, 244);
  --color-primary-200: rgb(195, 181, 232);
  --color-primary-300: rgb(156, 135, 214);
  --color-primary-400: rgb(115, 92, 193);
  --color-primary-500: rgb(81, 45, 140);
  --color-primary-600: rgb(68, 40, 121);
  --color-primary-700: rgb(53, 32, 95);
  --color-primary-800: rgb(39, 24, 74);
  --color-primary-900: rgb(26, 16, 51);
  --color-primary-950: rgb(15, 9, 30);
  --color-primary-DEFAULT: var(--color-primary-500);

  --color-gray-50: rgb(249, 250, 251);
  --color-gray-100: rgb(243, 244, 246);
  --color-gray-200: rgb(229, 231, 235);
  --color-gray-300: rgb(209, 213, 219);
  --color-gray-400: rgb(156, 163, 175);
  --color-gray-500: rgb(107, 114, 128);
  --color-gray-600: rgb(75, 85, 99);
  --color-gray-700: rgb(55, 65, 81);
  --color-gray-800: rgb(31, 41, 55);
  --color-gray-900: rgb(17, 24, 39);
  --color-gray-950: rgb(3, 7, 18);

  --primary: #fa701b;
  --primary-dark: #c55109;
  --secondary: #fc8713;
  --primary-light: #fea439;
  --danger: #bc110b;
}

/* Tipografía */
body {
  font-family: "TTCommons", sans-serif;
  line-height: inherit;
}

/* Contenedor principal */
.custom-container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  padding-bottom: 8rem;
  padding-top: 8rem;
  text-align: center;
}

/* SwiperJS (si usas este plugin) */
.swiper-theme-color {
  --swiper-theme-color: #007aff;
  --swiper-navigation-size: 44px;
}

/* Estilos específicos de SweetAlert2 */
.swal2-container {
  padding: 0.625em;
  backdrop-filter: blur(4px);
}

.swal2-popup {
  width: 32em;
  padding: 0 0 1.25em;
  border: none;
  border-radius: 0.3125rem;
  background: white;
  color: #545454;
}

.swal2-footer {
  border-top: 1px solid #eee;
}

.swal2-close-button {
  position: absolute;
  font-size: 2.5em;
  color: #ccc;
}

/* Otros efectos */
.shadow-lg {
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
}

/* Efectos y transiciones */
.transition {
  transition: all 0.3s ease-in-out;
}

.text-primary {
  color: var(--primary);
}

/* Estilos del contenedor de los planes */
#explora-nuestros-paquetes-de-datos {
  display: flex;
  justify-content: center;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  box-sizing: border-box;
}

/* Estilos generales del encabezado */
#explora-nuestros-paquetes-de-datos h1 {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  max-width: 340px;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  text-align: center;
  margin: 0 auto;
}

/* Estilos del SVG de "fuego" */
#explora-nuestros-paquetes-de-datos h1 svg:first-child {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-60%);
  width: 3.5rem;
}

/* Estilos del logo "youcel" */
#logo-svg {
  font-size: 3.5rem;
  transform: translateY(-1.25rem);
  margin-left: 0.75rem;
}

#logo-svg p {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

/* Asegura que el texto "youcel" esté detrás del SVG */
#logo-svg span {
  color: transparent;
}

#logo-svg svg {
  position: absolute;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

#planes-container {
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
}

.planes-header {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  max-width: 340px;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  text-align: center;
  margin: 0 auto;
}

/* Estilos del SVG "fuego" */
.planes-icon {
  min-height: 90px;
  max-height: 90px;
}

/* Contenedor del texto */
.planes-text {
  display: block;
}

/* Texto "Planes" */
.planes-title {
  font-weight: 700;
}

/* Contenedor del logo "youcel" */
.planes-logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-500);
}

/* Asegura que el texto "youcel" esté detrás del SVG */
.planes-logo span {
  color: transparent;
}

/* SVG del logo */
.planes-logo-svg {
  position: absolute;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.plan-card {
  width: 320px;
  min-width: 320px;
  height: auto;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  background: #f1f5f9;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  align-items: stretch;
  border-width: 0;
}

.plan-header {
  padding: 15px;
  background: black;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: -12px;
  min-width: 108%;
}

/* 🔹 Contenido principal */
.plan-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  color: white;
  background: linear-gradient(to right, #8c3183, #192570);
  margin-left: -12px;
  min-width: 108%;
}

.plan-data {
  font-size: 4rem;
  font-weight: bold;
  line-height: 0.7;
}

.plan-price {
  position: relative;
  font-size: 2rem;
  font-weight: bold;
}

.currency {
  font-size: 1.2rem;
  font-weight: 300;
  position: absolute;
  left: 108%;
  top: 50%;
  transform: translateY(-27%) rotate(0deg);
  transform-origin: center;
}

.plan-duration {
  font-size: 1rem;
  font-weight: 300;
}

/* 🔹 Beneficios */
.plan-benefits {
  background: #f1f5f9;
  padding: 15px;
  text-align: left;
  font-size: 1rem;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
}

.benefit-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right, #8c3183, #192570);
}

/* 🔹 Aplicaciones incluidas */
.plan-apps {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 10px;
  background: #f1f5f9;
  min-width: 108%;
  margin-left: -12px;
}

.app {
  font-size: 1.5rem;
}

/* 🔹 Botón */
.plan-footer {
  text-align: center;
}

.btn-buy {
  display: block;
  color: #f1f5f9;
  width: 100%;
  padding: 12px;
  text-align: center;
  background: linear-gradient(to right, #8c3183, #192570);
  font-size: 1.2rem;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s;
}

.btn-buy:hover {
  transform: scale(1.05);
}

.plan-card {
  margin: auto;
  margin-bottom: 20px;
}

.contenedor-central {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 58vh;
  /* Centrado vertical */
}

/* Perfil */
/* ===========================
   Estilos para la Tarjeta
=========================== */
.custom-card {
  background-color: #6b21a8;
  /* Morado */
  border-radius: 20px;
  color: white;
  padding: 20px;
  margin-top: -10vh;
}

/* Tarjeta blanca dentro de la card principal */
.custom-card-light {
  background-color: white;
  border-radius: 20px;
  padding: 20px;
}

/* ===========================
   Estilos para los Botones
=========================== */
.custom-button {
  background-color: #65a30d;
  border: none;
  font-size: 1rem;
  padding: 10px;
  border-radius: 10px;
  color: white;
  transition: background 0.3s ease;
}

.custom-button:hover {
  background-color: #4c8a0a;
  /* Un poco más oscuro al pasar el mouse */
}

/* ===========================
   Estilos para los Textos
=========================== */
.text-primary-morado {
  color: #6b21a8 !important;
}

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

/* ===========================
   Estilos para la Alerta
=========================== */
.custom-alert {
  color: red;
  background-color: #f3e8ff;
  /* Color de fondo lila claro */
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  border: none;
  /* Eliminando el borde */
}

/* Reducir espacio entre header y contenido */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
  /* Asegura que esté sobre el contenido */
  padding-bottom: 10px;
  /* Reduce el espacio inferior */
}

/* Ajustar el contenedor para evitar demasiado espacio */
.content-container {
  padding-top: 80px;
  /* Ajusta según la altura del header */
}

/* Tarjeta de gráfico */
.graph-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 0px 20px 20px 20px;
  width: 100% !important;
  margin: 20px auto;
  padding: 0px;
}

.graph-card h3 {
  width: 100%;
  text-align: center;
  padding: 12px;
  font-weight: bold;
  background-color: #6b21a8 !important;
  color: white !important;

  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px 20px 0px 0px !important;
}

.chart-text {
  font-size: 1rem;
  color: #6b21a8;
  /* Morado */
}

/* Contenedor del círculo de progreso */
.progress-circle-container {
  margin-top: 20px;
  width: 120px;
  height: 120px;
  margin: 0 auto;
  position: relative;
}

/* Estilos del círculo de progreso */
.progress-circle {
  width: 100%;
  height: 100%;
}

.circle-bg {
  fill: none;
  stroke: #e6e6e6;
  stroke-width: 10;
}

.circle-progress {
  fill: none;
  stroke: #6b21a8;
  /* Morado */
  stroke-width: 10;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  transition: stroke-dashoffset 0.5s ease-in-out;
}

/* Texto dentro del círculo */
.progress-text {
  font-size: 16px;
  font-weight: bold;
  fill: #6b21a8;
  /* Morado */
  text-anchor: middle;
}

.progress-text {
  font-size: 16px;
  font-weight: bold;
  fill: #6b21a8;
  /* Morado */
  text-anchor: middle;
}

/* Texto debajo del gráfico */
.chart-text {
  color: #777;
  margin-top: 15px;
  font-size: 18px !important;
  font-weight: bold;
}

/* Estilos específicos del número de datos consumidos */
.chart-text span {
  font-size: 18px !important;
  font-weight: bold;
  color: #6b21a8;
  margin-top: 15px;
}

.graph-card {
  max-width: 600px;
  /* Ajusta este valor según el tamaño de content-container */
  width: 80%;
  box-sizing: border-box;
}

/* estilos para la pagina del perfil */
.modal-backdrop.show {
  z-index: 1055;
}

.modal.show {
  z-index: 1060;
}

.biometric-btn {
  width: 100%;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid #512e8c;
  color: #512e8c;
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.biometric-btn:hover {
  background-color: #512e8c;
  color: white;
}

#earningsChart {
  box-sizing: border-box;
  display: block;
  width: 363px;
  height: 200px;
  margin: 0 auto;
}

.chart-container {
  position: relative;
  width: 100%;
  height: auto;
}

#earningsChart {
  width: 100% !important;
  height: auto !important;
}
