.incentive-layer-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.incentive-layer-modal.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.incentive-layer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 1, 60, 0.75);
    backdrop-filter: blur(4px);
}

.incentive-layer-dialog {
    position: relative;
    z-index: 1;
    max-width: min(920px, 95vw);
    max-height: 90vh;
    animation: incentiveLayerIn 0.4s ease;
}

@keyframes incentiveLayerIn {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(12px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.incentive-layer-close {
    position: absolute;
    top: -12px;
    right: -12px;
    z-index: 3;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #0B013C;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s, background 0.2s;
}

.incentive-layer-close:hover {
    transform: scale(1.08);
    background: #f0f0f0;
}

.incentive-layer-body {
    position: relative;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.incentive-layer-image {
    display: block;
    max-width: min(920px, 95vw);
    max-height: 85vh;
    width: auto;
    height: auto;
    margin: 0 auto;
}

.incentive-layer-zones {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.incentive-layer-zone {
    position: absolute;
    pointer-events: auto;
    background: transparent;
    cursor: pointer;
    transition: background 0.2s, outline 0.2s;
}

.incentive-layer-zone:hover {
    background: rgba(255, 255, 255, 0.15);
    outline: 2px solid rgba(255, 255, 255, 0.4);
}

.iml-toggle-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.iml-toggle-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #0B013C;
}

.incentive-layer-card,
.b2b-layer-card {
    margin-bottom: 40px;
    border: 2px solid #0B013C;
}

.b2b-layer-card {
    border-color: #6f42c1;
}

.iml-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 20px;
}

.iml-form-actions .btn-danger {
    background: #dc3545;
    color: #fff;
}

.iml-form-actions .btn-danger:hover {
    background: #c82333;
}

@media (max-width: 768px) {
    .incentive-layer-dialog {
        max-width: 100%;
    }

    .incentive-layer-close {
        top: 8px;
        right: 8px;
    }
}
