/* Estilos Base para Formularios VR-eLab */
.vrlab-custom-form {
  max-width: 600px;
  margin: 20px auto;
  padding: 24px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.vrlab-form-group {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
}

.vrlab-form-group label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333333;
}

.vrlab-form-group input[type="text"],
.vrlab-form-group input[type="email"],
.vrlab-form-group input[type="tel"],
.vrlab-form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #cccccc;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
}

.vrlab-checkbox-group {
  flex-direction: row;
  align-items: center;
}

.vrlab-checkbox-group label {
  font-weight: 400;
  cursor: pointer;
}

.vrlab-form-response {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
}

.vrlab-form-response.success { color: #10b981; }
.vrlab-form-response.error { color: #ef4444; }

/* Overlay Modal */
.vrlab-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

/* Cuestión del Contenedor Modal */
.vrlab-modal-container {
    background: #ffffff;
    width: 100%;
    max-width: 750px;
    max-height: 80vh;
    border-radius: 10px;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

/* Botón de cierre (X) */
.vrlab-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    color: #333;
    transition: color 0.2s ease;
}

.vrlab-modal-close:hover {
    color: #e63946;
}

/* Cuerpo con Scroll Respetando Márgenes */
.vrlab-modal-body {
    overflow-y: auto;
    padding-right: 15px;
    margin-top: 15px;
    color: #333333;
    font-size: 0.95rem;
    line-height: 1.6;
}

.vrlab-modal-body h1, 
.vrlab-modal-body h2, 
.vrlab-modal-body h3 {
    margin-top: 0;
    color: #111;
}