/* ==== Global Styles ==== */
*, *::before, *::after {
  box-sizing: border-box;
}
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-image: url('../imgs/header.png');
    /* Usa tu imagen de fondo aquí */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: #f3f3ff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
/* ==== Main Form Container ==== */
form {
    width: 90%;
    max-width: 800px;
    background-color: rgba(16, 24, 32, 0.95);
    /* Semi-transparente oscuro */
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    color: #f3f3ff;
    position: relative;
    overflow: hidden;
}
/* ==== Step Sections ==== */
fieldset {
    display: none;
    opacity: 0;
    transition: none;
    border: none;
    border-left: 6px solid #FFB612;
    padding: 30px;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.02);
    width: 100%;
    box-sizing: border-box;
}
fieldset.active {
    display: block;
    opacity: 1;
}
/* ==== Titulos de los campos ==== */
legend {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #FFB612;
}
/* ==== Inputs, Selects, Textareas ==== */
label {
    display: block;
    margin: 15px 0 5px;
    font-weight: 500;
    color: #f3f3ff;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="file"],
select,
textarea {
    width: 100%;
    padding: 12px;
    background: #f3f3ff;
    color: #101820;
    border: none;
    border-radius: 8px;
    margin-bottom: 10px;
    box-sizing: border-box;
    font-size: 1rem;
    transition: box-shadow 0.2s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px #FFB61266;
}

textarea {
    resize: vertical;
}

/* Agrupar los selects de fecha en línea, opcional pero queda más limpio */
.fecha-nacimiento-group select {
    width: 32%;
    display: inline-block;
}

/* Estados "bloqueado" pero visible */
select.bloqueado {
    opacity: 0.4;
    cursor: not-allowed;
}
.oculto {
    display: none;
}

/* ==== Buttons ==== */
button {
    background-color: #FFB612;
    color: #101820;
    font-weight: bold;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 15px;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #e0a800;
    transform: scale(1.05);
}

input[type="checkbox"] {
    margin-right: 8px;
}

/* ==== Responsive ==== */
@media (max-width: 768px) {
    form {
        padding: 20px;
    }

    fieldset {
        padding: 20px;
    }
}

.navegacion {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Si solo hay un botón en la navegación */
.navegacion:has(button:first-child:last-child) {
    justify-content: flex-end;
}
.firma-container {
  width: 100%;
}

#firmaCanvas {
  display: block;
  width: 100%;
  height: 150px;
  border: 2px dashed #FFB612;
  border-radius: 10px;
  background-color: #fff;
  touch-action: none;
}

@media (max-width: 480px) {
  #firmaCanvas {
    height: 120px;
  }
}.planes-container {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 20px;
}

.plan-card {
  background-color: #101820;
  border: 2px solid #FFB612;
  border-radius: 10px;
  padding: 20px;
  width: 100%;
  max-width: 250px;
  cursor: pointer;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
  position: relative;
}


.plan-card input[type="radio"] {
  display: none;
}

.plan-card .plan-content img {
  width: 150px;
  height: auto;
}

.plan-card .plan-precio {
  background-color: #FFB612;
  color: #101820;
  display: inline-block;
  padding: 5px 15px;
  margin: 10px 0;
  border-radius: 8px;
  font-weight: bold;
}

.plan-card h3 {
  color: #f3f3ff;
  margin: 10px 0 5px;
}

.plan-card p {
  color: #ccc;
  font-size: 0.9rem;
}

/* Resaltado al seleccionar */
.plan-card input[type="radio"]:checked + .plan-content {
  border: 2px solid #f3f3ff;
  box-shadow: 0 0 10px #FFB612;
  transform: scale(1.03);
}