/* =======================
   Container styling
========================== */

.plan-container {
  background-color: #2c2c2c;
  color: #ffffff;
  padding: 2rem 2.5rem;
  border-radius: 12px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  max-width: 900px;
  margin: 1rem auto;
  box-sizing: border-box;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Title styling */
.plan-container h2 {
  text-align: center;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1.5px;
  font-size: 3rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
  user-select: none;
}

/* Description */
.plan-container p.description {
  font-size: 1.6rem;
  line-height: 1.5;
  max-width: 700px;
  margin: 0 auto 2rem auto;
  user-select: text;
  color: #ffffff;
  text-align: justify;
}

/* Form group styling */
.plan-form-group {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.3rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.plan-form-group label {
  font-weight: 700;
  letter-spacing: 0.8px;
  font-size: 1.1rem;
  flex-shrink: 0;
  min-width: 140px;
  color: #ffffff;
  user-select: none;
}

.plan-form-group select,
.plan-form-group input[type="text"] {
  width: 160px;
  padding: 0.55rem 1.1rem;
  font-weight: 800;
  font-size: 2rem;
  border-radius: 8px;
  border: none;
  outline: none;
  user-select: text;
  box-sizing: border-box;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  background-color: #ffffff;
  color: #222222;
  text-align: center;
  cursor: pointer;
}

.plan-form-group select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3e%3cpath fill='%23000' d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
  padding-right: 2.5rem;
}

/* Minimum note */
.minimum-note {
  text-align: center;
  font-size: 1.4rem;
  margin-top: -1rem;
  margin-bottom: 2rem;
  color: #ffffff;
  user-select: none;
  font-style: italic;
}

/* Table styling */
.plan-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  user-select: none;
}

.plan-table thead th {
  font-weight: 600;
  font-size: 2rem;
  padding: 0.8rem 0.5rem;
  color: #ffffff;
  vertical-align: middle;
  text-align: center;
  white-space: normal;
  line-height: 1.3;
  border-bottom: 0.5px solid #615E5E;
}

.plan-table thead th.porcentaje {
  letter-spacing: 0.8px;
}

.plan-table tbody td {
  padding: 0.95rem 0.65rem;
  font-weight: 500;
  font-size: 2rem;
  color: #e2e2e2;
  user-select: text;
  border-bottom: 0.5px solid #615E5E;
}

.plan-table tbody tr:last-child td {
  border-bottom: none;
}

.plan-table tbody td.cycle-number {
  font-weight: 700;
}

.bottom-note {
  font-size: 1.6rem;
  line-height: 1.4;
  margin-top: 1.8rem;
  color: #ffffff;
  user-select: text;
}

.plan-form-group select,
.plan-form-group input[type="text"] {
  width: 100%;
  max-width: 100%;
  min-width: 100%;
}

.plan-form-group label {
  min-width: auto;
  margin-bottom: 0.3rem;
  font-size: 2rem;
}

@media (max-width: 700px) {
  .plan-container {
    padding: 1.5rem 1rem;
  }
  .plan-form-group {
    flex-direction: column;
    align-items: flex-start;
  }
  .plan-form-group label {
    min-width: auto;
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
  }
  .plan-form-group select,
  .plan-form-group input[type="text"] {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
  }
  .plan-table thead th,
  .plan-table tbody td {
    font-size: 2rem;
    padding: 0.6rem 0.3rem;
  }
}

/* Quitar todas las líneas verticales y bordes generales */
.plan-table,
.plan-table th,
.plan-table td {
  border: none;
}
