/* ---------- Modals ---------- */
.modal-content { border: 0; border-radius: 18px; box-shadow: var(--em-shadow-lg); }
.modal-header { border-bottom: 1px solid var(--em-border); padding: 1.1rem 1.5rem; }
.modal-title { font-weight: 800; color: #22305f; }
.modal-body { padding: 1.25rem 1.5rem; }
.modal-footer { border-top: 1px solid var(--em-border); padding: .9rem 1.5rem; }
@media (max-width: 575.98px) {
    .modal-fullscreen-sm-down .modal-content { border-radius: 0; }
    .modal-footer { position: sticky; bottom: 0; background: #fff; }
    .modal-footer .btn { flex: 1; }
}

/* A popup opened from inside another modal (e.g. "+ Add industry" on the exhibition form) stays on top. */
.modal-stacked { z-index: 1065; }

/* Existing-value chips in the add-option popup. */
.option-chip {
    font-size: .8rem; padding: .35rem .75rem; border-radius: 999px;
    border: 1px solid var(--em-border); background: var(--em-surface-2); color: var(--em-text);
    cursor: pointer; transition: all .15s ease;
}
.option-chip:hover { background: var(--em-primary-050); border-color: var(--em-primary); color: var(--em-primary); }
