.annonces-bandeau-zone {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.annonce-bandeau {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-left: 4px solid #3b82f6;
    border-radius: 6px;
    padding: 10px 14px;
}

.annonce-bandeau-icone {
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.annonce-bandeau-content {
    flex: 1;
    min-width: 0;
}

.annonce-bandeau-titre {
    font-weight: 700;
    font-size: 0.9rem;
}

.annonce-bandeau-message {
    font-size: 0.85rem;
    color: var(--muted, #6b7280);
}

.annonce-dismiss {
    background: none;
    border: none;
    color: var(--muted, #6b7280);
    cursor: pointer;
    padding: 2px 4px;
    flex-shrink: 0;
}

.annonce-dismiss:hover {
    color: #111827;
}

.annonce-badge-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: #fff;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1;
    padding: 2px 5px;
    min-width: 16px;
    text-align: center;
}

.annonce-mode-fermeture-option {
    border-color: #e5e7eb !important;
    transition: border-color .15s, background-color .15s;
}

.annonce-mode-fermeture-option:has(input:checked) {
    border-color: #6366f1 !important;
    background: #eef2ff;
}

.annonce-niveau-option {
    border-color: #e5e7eb !important;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    cursor: pointer;
    transition: border-color .15s, background-color .15s;
}

.annonce-niveau-option:has(input:checked) {
    border-color: var(--niveau-color) !important;
    background: color-mix(in srgb, var(--niveau-color) 10%, white);
}

.annonce-niveau-option .form-check-input {
    margin: 0;
}

.annonce-niveau-option .form-check-input:checked {
    background-color: var(--niveau-color);
    border-color: var(--niveau-color);
}

.annonce-niveau-option .form-check-label {
    cursor: pointer;
}

.annonce-form-layout {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 20px;
}

.annonce-preview-sticky {
    position: sticky;
    top: 16px;
}

.annonce-preview-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--muted, #6b7280);
    margin-bottom: 8px;
}

@media (max-width: 991px) {
    .annonce-form-layout {
        grid-template-columns: 1fr;
    }

    .annonce-preview-sticky {
        position: static;
        order: -1;
        margin-bottom: 16px;
    }
}
