/* Overlay for custom modal */
.npadev-custom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999999;
}

/* Modal container */
.npadev-custom-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    z-index: 1000000;
    min-width: 300px;
    max-width: 500px;
    width: 90%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Modal header */
.npadev-custom-modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
    background: #f1f1f1;
    border-radius: 4px 4px 0 0;
}

.npadev-custom-modal-header h3 {
    margin: 0;
    font-size: 1.2em;
    color: #333;
}

/* Modal body */
.npadev-custom-modal-body {
    padding: 20px;
    line-height: 1.5;
    color: #444;
}

/* Modal footer */
.npadev-custom-modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #ddd;
    text-align: right;
    background: #f9f9f9;
    border-radius: 0 0 4px 4px;
}

.npadev-custom-modal-footer .button {
    margin-left: 10px;
}

/* Specific styling for error/success alerts */
.npadev-alert-error #npadev-modal-title {
    color: #dc3232;
}

.npadev-alert-success #npadev-modal-title {
    color: #46b450;
}

.npadev-custom-small {
    max-width: 350px;
}

.npadev-custom-large {
    max-width: 700px;
}
