body {
    font-family: 'Montserrat' !important;
  background: #f5f7fa;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
}

.form-container {
  background: #fff;
  padding: 30px 40px;
  max-width: 510px;
  width: 100%;
}

.form-container input,
.form-container select {
  width: 100%;
  margin: 20px 0 20px 0;
  border: none !important;
  border-bottom: 1px solid #d0d0d0 !important;
  font-size: 14px;
  box-shadow: none !important;
}
.form-container input:focus{
outline: none !important;                  
border-bottom-color: #d0d0d0 !important;
}

.form-container label {
  display: block;
  margin-bottom: 5px;
  color: #222;
  font-weight: normal;
  font-size: .9em;
}

/* Botones para radios */
.radio-group {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  margin-top: 20px;
}

.radio-group input[type="radio"] {
  display: none;
}

.radio-group label {
  flex: 1;
  text-align: center;
  background: #f0f0f0;
  padding: 12px;
  margin: 0 5px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: bold;
  color: #555;
}

.radio-group input[type="radio"]:checked + label {
  background: #fcb82a;
  color: white;
}

.form-container button {
    margin-top: 10px;
  width: 100%;
  padding: 14px;
  background: #791b39;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.form-container button:hover {
  background: #791b39;
}

#mensaje {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
  color: red;
}

/* Para tablets: pantallas entre 768px y 1024px */
@media (max-width: 1024px) and (min-width: 768px){
    .form-container{
        max-width: 510px;
    }
    
}

/* Para móviles: pantallas menores a 768px */
@media (max-width: 767px) {
    .form-container{
        max-width: 510px;
    }
}