
/* -------------------------------
   Modales emergentes
---------------------------------*/

/* Overlay del modal */
.modal-overlay {
    display: none; /* oculto por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1500;
    justify-content: center;
    align-items: center;
}

/* Modal principal */
.modal {
    background-color: #000000;
    border-radius: 8px;
    padding: 0;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid #333333;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    animation: modalSlideIn 0.3s ease-out;
}

/* Animación de entrada del modal */
@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(-50px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Header del modal */
.modal-header {
    background-color: #000000;
    padding: 20px 25px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333333;
}

/* Título del modal */
.modal-header h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

/* Botón cerrar */
.modal-close {
    background-color: #000000;
    border: 1px solid #333333;
    color: #aaaaaa;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.modal-close:hover {
    background-color: #ff5c5c;
    color: #ffffff;
    border-color: #ff5c5c;
}

/* Body del modal */
.modal-body {
    padding: 25px;
    color: #ffffff;
}
.modal-body form label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;

}

.modal-body form input {
    margin-bottom: 20px;
    border-radius: 4px;
    border: 1px solid #333333;
    background-color: #000000;
    color: #ffffff;
    padding: 10px;
    width: 100%;
}

.modal-body form select {
    margin-bottom: 20px;
    border-radius: 4px;
    border: 1px solid #333333;
    background-color: #000000;
    color: #ffffff;
    padding: 10px;
    width: 100%;
}

.modal-body form option {
    background-color: #000000;
    color: #ffffff;
}

.modal-body .form-group textarea {
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #444 !important;
    background-color: #000000 !important;
    color: #ffffff !important;
    padding: 12px;
    width: 100%;
    min-height: 120px; /* Tamaño más grande */
    resize: vertical;
    font-family: inherit;
    font-size: 14px;
}

/* Efecto al enfocar */
.modal-body .form-group textarea:focus {
    outline: none !important;
    border-color: #ffffff !important;
}

/* Placeholder con color oscuro */
.modal-body .form-group textarea::placeholder {
    color: #888 !important;
    opacity: 1;
}

/* Hover effect */
.modal-body .form-group textarea:hover {
    border-color: #555 !important;
}

/*---------------------------------*/
.modal-overlay .modal .modal-body textarea{
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #444 !important;
    background-color: #000000 !important;
    color: #ffffff !important;
    padding: 12px;
    width: 100%;
    min-height: 120px; /* Tamaño más grande */
    resize: vertical;
    font-family: inherit;
    font-size: 14px;
}
/* Footer del modal */
.modal-footer {
    padding: 20px 25px;
    border-top: 1px solid #333333;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    border-radius: 0 0 8px 8px;
}
/* -------------------------------