/* Estilos Generales del Formulario */
.edumassive-form-container {
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.edumassive-form .form-group {
    margin-bottom: 20px;
}

.edumassive-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.edumassive-form input[type="text"],
.edumassive-form input[type="email"],
.edumassive-form textarea,
.edumassive-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.edumassive-form .edumassive-submit-btn {
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.edumassive-form .edumassive-submit-btn:hover {
    opacity: 0.9;
}

.edumassive-form .edumassive-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Estilos para el Pop Up Modal */
.edumassive-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

.edumassive-modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.edumassive-modal-close {
    color: #ff0000; /* UX: Color rojo para el botón de cierre */
    float: right;
    font-size: 32px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 25px;
    opacity: 0.8;
}

.edumassive-modal-close:hover,
.edumassive-modal-close:focus {
    color: #cc0000;
    opacity: 1;
    text-decoration: none;
    cursor: pointer;
}

.edumassive-popup-btn {
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    font-size: 1em;
}

/* Mensajes de feedback (éxito y error) */
.edumassive-form-feedback {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    text-align: center;
}

.edumassive-form-feedback.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.edumassive-form-feedback.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    text-align: left;
}

/* Tilde verde para mensaje de éxito */
.edumassive-form-feedback.success .checkmark {
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #155724;
    color: white;
    font-size: 30px;
    line-height: 50px;
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 600px) {
    .edumassive-modal-content {
        width: 95%;
        margin: 20% auto;
    }
}