/* Bisart BPM Styles */

.bisart-bpm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bisart-bpm-overlay.active {
    opacity: 1;
}

.bisart-bpm-container {
    position: relative;
    background: #fff;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.bisart-bpm-overlay.active .bisart-bpm-container {
    transform: scale(1);
}

.bisart-bpm-admin-notice {
    background: #ff9800;
    color: #fff;
    padding: 10px 15px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px 8px 0 0;
}

.bisart-bpm-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 32px;
    line-height: 1;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    z-index: 10;
}

.bisart-bpm-admin-preview .bisart-bpm-close {
    top: 60px;
}

.bisart-bpm-close:hover {
    color: #333;
}

.bisart-bpm-content {
    padding: 40px 30px 30px;
}

.bisart-bpm-image {
    margin: 0 0 20px;
    text-align: center;
}

.bisart-bpm-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.bisart-bpm-title {
    margin: 0 0 20px;
    font-size: 28px;
    line-height: 1.3;
    color: #333;
}

.bisart-bpm-text {
    margin: 0 0 25px;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

.bisart-bpm-text p:last-child {
    margin-bottom: 0;
}

.bisart-bpm-form {
    margin-top: 25px;
}

.bisart-bpm-form-group {
    margin-bottom: 15px;
}

.bisart-bpm-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.bisart-bpm-input:focus {
    outline: none;
    border-color: #0073aa;
}

.bisart-bpm-submit {
    width: 100%;
    padding: 14px 20px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.bisart-bpm-submit:hover {
    background: #005a87;
}

.bisart-bpm-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.bisart-bpm-message {
    margin-top: 15px;
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 15px;
}

.bisart-bpm-message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.bisart-bpm-message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Responsive */
@media (max-width: 768px) {
    .bisart-bpm-container {
        width: 95%;
        max-width: none;
    }

    .bisart-bpm-content {
        padding: 35px 20px 25px;
    }

    .bisart-bpm-title {
        font-size: 24px;
    }
}
