.epm-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.epm-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
}

.epm-modal-content {
    position: relative;
    background: white;
    width: 90%;
    max-width: 600px;
    margin: 50px auto;
    padding: 30px;
    border-radius: 8px;
    max-height: 80vh;
    overflow-y: auto;
}

.epm-modal-small {
    max-width: 400px;
}

.epm-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
}

.epm-modal-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.epm-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.epm-btn-primary {
    background: #0073aa;
    color: white;
}

.epm-btn-secondary {
    background: #666;
    color: white;
}

.epm-btn-danger {
    background: #dc3232;
    color: white;
}

.epm-btn-success {
    background: #46b450;
    color: white;
}

.epm-form-group {
    margin-bottom: 15px;
}

.epm-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.epm-form-group input,
.epm-form-group select,
.epm-form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.epm-form-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}