/* Estilos para el Formulario Público de Inscripción */

.mp-formulario-inscripcion {
    max-width: 100%;
    margin: 40px 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.mp-form-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
}

.mp-form-header h2 {
    margin: 0 0 10px 0;
    font-size: 32px;
    font-weight: 700;
}

.mp-form-header p {
    margin: 0;
    font-size: 15px;
    opacity: 0.95;
    line-height: 1.6;
    text-align: left;
    max-width: 100%;
    margin: 10px auto 0;
    padding: 0 20px;
}

/* Layout de 2 columnas */
.mp-form-container-cols {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
}

.mp-form-col-left {
    padding: 30px;
    border-right: 2px solid #f0f0f0;
}

.mp-form-col-right {
    padding: 30px;
    background: #f8f9fa;
}

.mp-form-public {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.mp-form-section {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
}

.mp-form-section:last-of-type {
    border-bottom: none;
}

.mp-form-section h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    color: #667eea;
    font-weight: 600;
}

.mp-form-group {
    margin-bottom: 20px;
}

.mp-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.mp-form-group input[type="text"],
.mp-form-group input[type="email"],
.mp-form-group input[type="tel"],
.mp-form-group input[type="url"],
.mp-form-group select,
.mp-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.mp-form-group input[type="text"]:focus,
.mp-form-group input[type="email"]:focus,
.mp-form-group input[type="tel"]:focus,
.mp-form-group input[type="url"]:focus,
.mp-form-group select:focus,
.mp-form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.mp-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.mp-form-group input[type="file"] {
    padding: 10px;
    border: 2px dashed #e0e0e0;
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
}

.mp-form-group input[type="file"]:hover {
    border-color: #667eea;
    background: #f8f9ff;
}

.mp-form-help {
    display: block;
    margin-top: 5px;
    font-size: 13px;
    color: #666;
    font-style: italic;
}

.mp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.mp-checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.mp-checkbox-group input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.mp-checkbox-group span {
    font-weight: normal;
}

.mp-form-actions {
    text-align: center;
    padding-top: 20px;
}

.mp-btn-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 50px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.mp-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.mp-btn-submit:active {
    transform: translateY(0);
}

.mp-btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.mp-btn-loading {
    display: none;
}

.mp-form-footer {
    text-align: center;
    margin-top: 20px;
    color: #666;
    line-height: 1.8;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

/* Mensajes de éxito/error */
#mp-form-messages {
    margin: 20px 30px 0;
}

.mp-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mp-message-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.mp-message-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.mp-message-icon {
    font-size: 24px;
}

/* Responsive */
@media (max-width: 768px) {
    .mp-formulario-inscripcion {
        margin: 20px 15px;
        border-radius: 8px;
    }
    
    .mp-form-header {
        padding: 30px 20px;
    }
    
    .mp-form-header h2 {
        font-size: 24px;
    }
    
    .mp-form-container-cols {
        grid-template-columns: 1fr;
    }
    
    .mp-form-col-left {
        border-right: none;
        border-bottom: 2px solid #f0f0f0;
        padding: 20px;
    }
    
    .mp-form-col-right {
        padding: 20px;
    }
    
    .mp-form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .mp-btn-submit {
        width: 100%;
        padding: 12px 30px;
        font-size: 16px;
    }
}

/* Estilos para la caja de ventajas */
.mp-ventajas-box {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.mp-ventajas-box h3 {
    margin: 0 0 25px 0;
    font-size: 20px;
    color: #667eea;
    font-weight: 700;
    border-bottom: 3px solid #667eea;
    padding-bottom: 15px;
}

.mp-ventaja-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.mp-ventaja-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.mp-ventaja-section h4 {
    margin: 0 0 12px 0;
    font-size: 17px;
    color: #333;
    font-weight: 600;
}

.mp-ventaja-section ul {
    margin: 0;
    padding-left: 20px;
    list-style: none;
}

.mp-ventaja-section ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
    font-size: 14px;
    color: #555;
}

.mp-ventaja-section ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 16px;
}

.mp-plan-permanencia {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px;
    border-radius: 8px;
    border: 2px solid #667eea;
}

.mp-plan-permanencia h4 {
    color: #667eea;
}

.mp-plan-permanencia p {
    margin: 0 0 15px 0;
    font-size: 14px;
    line-height: 1.7;
    color: #333;
}

.mp-plan-permanencia p:last-child {
    margin-bottom: 0;
}

.mp-descuento {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px !important;
}

.mp-descuento strong {
    color: #856404;
}

/* Validación de campos */
.mp-form-group input.error,
.mp-form-group textarea.error,
.mp-form-group select.error {
    border-color: #dc3545;
}

.mp-error-message {
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}
