/* Estilos para los modales */
.wp-custom-modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.wp-custom-modal-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    top: 0;
    left: 0;
}

.wp-custom-modal-container {
    position: relative;
    background-color: #ffffff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.3s;
    width: 70%; /* Tamaño predeterminado (medium) */
}

/* Tamaños de modal */
.modal-size-small {
    width: 50% !important;
}

.modal-size-medium {
    width: 70% !important;
}

.modal-size-large {
    width: 90% !important;
    max-width: 1000px !important;
}

@keyframes modalFadeIn {
    from {opacity: 0; transform: translateY(-50px);}
    to {opacity: 1; transform: translateY(0);}
}

.wp-custom-modal-header {
    display: flex;
    justify-content: flex-end;
}

.wp-custom-modal-close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.wp-custom-modal-close:hover,
.wp-custom-modal-close:focus {
    color: #000;
    text-decoration: none;
}

.wp-custom-modal-content {
    margin-top: 15px;
}

.wp-custom-modal-button {
    background-color: #0073aa;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.wp-custom-modal-button:hover {
    background-color: #005177;
}