/* Contenedor Principal */
#social-media-calculator {
    background-color: #f0f0f0; /* Gris claro para el fondo */
    color: #000; /* Texto negro */
    padding: 20px;
    border-radius: 5px;
    max-width: 600px;
    margin: auto;
}

/* Títulos y Leyendas */
#social-media-calculator h2, legend {
    color: #333; /* Gris oscuro para títulos */
}

/* Estilo para los fieldsets */
fieldset {
    border: 2px solid #ccc;
    border-radius: 4px;
    padding: 10px;
    margin-top: 20px;
}

/* Estilo para etiquetas */
label {
    display: block;
    margin: 8px 0;
}

/* Estilo para inputs y selects */
input[type="number"], select, input[type="checkbox"] {
    width: 100%;
    padding: 8px;
    margin: 4px 0 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Para que el padding no afecte el ancho total */
}

/* Botón de calcular */
button {
    background-color: #f87523;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #333;
}

/* Estilo para el costo total */
#total-cost {
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
    text-align: center;
}
table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    text-align: left;
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f2f2f2;
}
/* Estilo para el contenedor del checkbox */
.relative.inline-flex.items-center.cursor-pointer {
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+/Edge */
  user-select: none; /* Standard */
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

/* Estilo para simular el switch (checkbox oculto) */
.sr-only.peer {
  width: 0;
  height: 0;
  opacity: 0;
  position: absolute;
}

/* Estilo para el switch desactivado */
.w-11.h-6.bg-gray-200.rounded-full {
  min-width: 46px; /* 11 tailwind units */
  height: 26px; /* 6 tailwind units */
  background-color: #e2e8f0; /* Gray-200 */
  border-radius: 9999px; /* Fully rounded */
  position: relative;
  transition: background-color 0.2s;
}

/* Estilo para el círculo dentro del switch */
.w-11.h-6.bg-gray-200.rounded-full::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px; /* 5 tailwind units */
  height: 20px; /* 5 tailwind units */
  background-color: #fff;
  border-radius: 9999px; /* Fully rounded */
  transition: transform 0.2s, border-color 0.2s;
  border: 2px solid #cbd5e0; /* Gray-300 */
}

/* Estilo para el switch activado (checkbox marcado) */
.peer:checked ~ .w-11.h-6.bg-gray-200.rounded-full {
  background-color: #68d391; /* Green-400 for success state */
}

.peer:checked ~ .w-11.h-6.bg-gray-200.rounded-full::after {
  transform: translateX(20px);
  border-color: #fff;
}