.modal {
  display: none; /* Ocultar por defecto */
  position: fixed; /* Fijar posición */
  z-index: 9; /* Mostrar encima */
  left: 0;
  top: 0;
  width: 100%; /* Ancho completo */
  height: 100%; /* Alto completo */
  overflow: auto; /* Habilitar scroll si es necesario */
  background-color: rgb(0,0,0); /* Color de fondo */
  background-color: rgba(0,0,0,0.4); /* Con opacidad */
}

/* Estilos del contenido del modal */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* Centrado */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Ancho */
}

.modal-header, .modal-footer {
  padding: 10px;
  background-color: #f1f1f1;
  border-bottom: 1px solid #888;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header .close {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
}

.modal-header .close:hover, .modal-header .close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modal-title {
  margin: 0;
  font-size: 20px;
  font-weight: bold;
}

.modal-body {
  padding: 10px 0;
}

/* --- Estilo del Modal de Webinar --- */
.modal-content {
  background-color: #ffffff;
  border-radius: 12px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  font-family: "Open Sans", sans-serif;
}

.modal-header {
  background: linear-gradient(135deg, #009bde, #00c4b3);
  color: #fff;
  border-bottom: none;
  padding: 20px 30px;
}

.modal-header .modal-title {
  font-weight: 700;
  font-size: 1.3rem;
}

.modal-header .close {
  color: #fff;
  opacity: 0.8;
  font-size: 1.5rem;
  transition: opacity 0.2s;
}
.modal-header .close:hover {
  opacity: 1;
}

.modal-body {
  padding: 25px 30px;
  background-color: #f9fafc;
}

.modal-footer {
  border-top: none;
  background-color: #f1f3f6;
  padding: 15px 25px;
}

/* Inputs más claros y con borde sutil */
.form-control {
  background-color: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 10px 12px;
  transition: all 0.2s ease;
  box-shadow: none;
}
.form-control:focus {
  border-color: #009bde;
  box-shadow: 0 0 4px rgba(0, 155, 222, 0.3);
}

/* Labels */
label.control-label {
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

/* Botones */
.btn-info {
  background-color: #009bde;
  border: none;
  color: #fff;
  font-weight: 600;
  border-radius: 6px;
  padding: 10px 18px;
  transition: background 0.3s ease;
}
.btn-info:hover {
  background-color: #00aee0;
}

.btn-default {
  background-color: #e5e7eb;
  border: none;
  color: #333;
  font-weight: 600;
  border-radius: 6px;
  padding: 10px 18px;
}
.btn-default:hover {
  background-color: #d1d5db;
}

/* Checkbox */
.checkbox label {
  color: #555;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 576px) {
  .modal-body, .modal-header, .modal-footer {
    padding: 15px;
  }
}

.form-control {
  color: #333; /* o #000 si preferís más contraste */
  background-color: #fff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 10px 12px;
  transition: all 0.2s ease;
}

/* --- BOTÓN PRINCIPAL (ENVIAR) --- */
.btn-info,
.btn-primary {
  background: linear-gradient(135deg, #009bde, #007cb2);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  box-shadow: 0 3px 8px rgba(0, 155, 222, 0.3);
  transition: all 0.25s ease-in-out;
}

.btn-info:hover,
.btn-primary:hover {
  background: linear-gradient(135deg, #00aee0, #008cc7);
  box-shadow: 0 4px 12px rgba(0, 155, 222, 0.45);
  transform: translateY(-1px);
}

/* --- BOTÓN SECUNDARIO (CANCELAR) --- */
.btn-default,
.btn-secondary {
  background-color: #f3f4f6;
  color: #333;
  font-weight: 600;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 22px;
  transition: all 0.25s ease-in-out;
}

.btn-default:hover,
.btn-secondary:hover {
  background-color: #e5e7eb;
  border-color: #cfd3d8;
}

/* Ajuste general: mismo alto y espaciado */
.modal-footer .btn {
  min-width: 120px;
  margin-left: 8px;
}
