/*
 * Event editor components that both editors render: the modern wizard and the
 * classic editor. The classic editor does not load mpwem_event_edit.css (several
 * of its selectors are unscoped and collide with classic markup), so these
 * namespaced rules live here and both screens load this file. Uses the --mpwem-*
 * tokens that mpwem_event_edit.css and mpwem_event_edit_classic.css define on :root.
 */


/* Ticket & Pricing: payment status banner */
.mpwem-payment-banner {
    padding: 18px 20px;
    border-radius: var(--mpwem-radius);
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.mpwem-payment-banner--warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
}

.mpwem-payment-banner--success {
    background: #f0fdf4;
    border: 1px solid #86efac;
}

.mpwem-payment-banner__row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

.mpwem-payment-banner__icon {
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.mpwem-payment-banner--warning .mpwem-payment-banner__icon {
    background: #fef3c7;
    color: #b45309;
}

.mpwem-payment-banner--success .mpwem-payment-banner__icon {
    background: #dcfce7;
    color: #166534;
}

.mpwem-payment-banner__title {
    display: block !important;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.mpwem-payment-banner--warning .mpwem-payment-banner__title {
    color: #78350f;
}

.mpwem-payment-banner--success .mpwem-payment-banner__title {
    color: #14532d;
}

.mpwem-payment-banner__desc {
    font-size: 13px;
    line-height: 1.45;
}

.mpwem-payment-banner--warning .mpwem-payment-banner__desc {
    color: #92400e;
}

.mpwem-payment-banner--success .mpwem-payment-banner__desc {
    color: #166534;
}

.mpwem-payment-banner__btn {
    flex: none;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 650;
    padding: 10px 18px;
    cursor: pointer;
    white-space: nowrap;
}

.mpwem-payment-banner__btn--primary {
    border: none !important;
    background: var(--mpwem-primary) !important;
    color: #fff !important;
}

.mpwem-payment-banner__btn--primary:hover {
    background: var(--mpwem-primary-hover) !important;
}

.mpwem-payment-banner__btn--secondary {
    border: 1px solid #86efac !important;
    background: #fff !important;
    color: #166534 !important;
}

.mpwem-payment-banner__btn--secondary:hover {
    background: #f0fdf4 !important;
}

/* Ticket & Pricing: Documentation Links */
.mpwem-docs-tiles {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mpwem-docs-tile {
    display: block;
    padding: 12px;
    border: 1px solid #e9ecf2;
    border-radius: 10px;
    text-decoration: none;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.mpwem-docs-tile:hover {
    background: #fafbfc;
}

.mpwem-docs-tile__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 4px;
}

.mpwem-docs-tile__lead {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.mpwem-docs-tile__icon {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 0;
}

.mpwem-docs-tile__icon svg {
    display: block;
}

.mpwem-docs-tile__title {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mpwem-docs-tile__badge {
    flex-shrink: 0;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #94a3b8;
    padding: 2px 6px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
}

.mpwem-docs-tile__desc {
    margin: 0 0 6px;
    font-size: 12px;
    color: #64748b;
    line-height: 1.45;
}

.mpwem-docs-tile__cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    font-weight: 700;
}

.mpwem-docs-tile--indigo .mpwem-docs-tile__icon {
    background: #eef2ff;
    color: #4f46e5;
}

.mpwem-docs-tile--indigo .mpwem-docs-tile__cta {
    color: #4f46e5;
}

.mpwem-docs-tile--amber .mpwem-docs-tile__icon {
    background: #fef3e8;
    color: #c2680c;
}

.mpwem-docs-tile--amber .mpwem-docs-tile__cta {
    color: #c2680c;
}

.mpwem-docs-tile--green .mpwem-docs-tile__icon {
    background: #e9f9f0;
    color: #0e9f6e;
}

.mpwem-docs-tile--green .mpwem-docs-tile__cta {
    color: #0e9f6e;
}

.mpwem-docs-doclink {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px;
    border-top: 1px solid #f1f5f9;
    background: #fafbfc;
    color: #334155;
    text-decoration: none;
}

.mpwem-docs-doclink__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
}

.mpwem-docs-doclink svg {
    color: #94a3b8;
    flex-shrink: 0;
}

/* Ticket & Pricing: "Add To Cart Form Shortcode" copy box */
.mpwem-shortcode-help {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.mpwem-shortcode-help__heading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mpwem-shortcode-help__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: #eef2ff;
    color: #6366f1;
}

.mpwem-shortcode-help__title {
    font-size: 13px;
    font-weight: 700;
    color: var(--mpwem-text);
}

.mpwem-shortcode-help__row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #dce1e5;
    border: 1px solid #eef0f4;
    border-radius: 10px;
    padding: 10px 10px 10px 12px;
}

.mpwem-shortcode-help__code {
    flex: 1 1 auto;
    min-width: 0;
    display: block;
    padding: 2px 0;
    background: #dce1e5;
    color: var(--mpwem-text);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-weight: 600;
    font-size: 12px;
    line-height: 1.6;
    white-space: normal;
    word-break: break-word;
}

/* !important throughout: WordPress's own .wp-core-ui button reset
   (class + element selector) outranks a single plugin class and was
   stretching this into a bare, iconless pill instead of a small
   square icon button. */
.mpwem-shortcode-help__copy {
    all: unset;
    box-sizing: border-box !important;
    position: relative !important;
    flex: 0 0 28px !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #eef0f4 !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08) !important;
    color: #6366f1 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.mpwem-shortcode-help__copy svg {
    display: block;
    flex-shrink: 0;
}

.mpwem-shortcode-help__copy:hover {
    background: #eef2ff !important;
    border-color: #e0e4ff !important;
}

.mpwem-shortcode-help__copy.is-copied {
    color: #16a34a !important;
    border-color: #bbf0d1 !important;
}

.mpwem-shortcode-help__copy-msg {
    position: absolute;
    bottom: calc(100% + 7px);
    right: 50%;
    transform: translateX(50%) translateY(2px);
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 6px;
    background: #16a34a;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.mpwem-shortcode-help__copy-msg::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 50%;
    transform: translateX(50%);
    border: 5px solid transparent;
    border-top-color: #16a34a;
}

.mpwem-shortcode-help__copy.is-copied .mpwem-shortcode-help__copy-msg {
    opacity: 1;
    transform: translateX(50%) translateY(0);
}

.mpwem-shortcode-help__description {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--mpwem-muted);
}

.mpwem-shortcode-help--sidebar {
    margin-top: 16px;
}

/* SEO Content: "Schema Preview" chips and "Schema Settings" fields */
.mpwem-schema-panel__group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mpwem-schema-panel__group-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9aa5b4;
}

.mpwem-schema-panel__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mpwem-schema-panel__chip {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 12.5px;
    font-weight: 600;
}

.mpwem-schema-panel__chip--warn {
    background: #fef3e8;
    color: #c2680c;
}

.mpwem-schema-panel__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

/* The grid gap spaces the fields; a sibling margin pushed the second field of a
   row 16px below the first. */
.mpwem-schema-panel__field {
    display: block;
    margin: 0;
}

.mpwem-schema-panel__field-label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    color: var(--mpwem-text);
    font-size: 13px;
    font-weight: 700;
}

.mpwem-schema-panel__field-hint {
    display: block;
    margin-top: 6px;
    color: var(--mpwem-muted);
    font-size: 12px;
    line-height: 1.5;
}

.mpwem-schema-panel__check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed #eef0f4;
    color: var(--mpwem-primary);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 782px) {
    .mpwem-schema-panel__fields {
        grid-template-columns: 1fr;
    }
}

/* Speaker Information: speaker picker */
.mpwem_speaker_settings {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mpwem_speaker_settings.mpwem-embedded-panel .mpwem-speaker-panel__intro,
.mpwem_speaker_settings.mpwem-embedded-panel .mpwem-speaker-panel__enable {
    display: none !important;
}

.mpwem_speaker_settings.mpwem-embedded-panel #mpwem-speaker-fields {
    display: block !important;
}

.mpwem-speaker-panel__intro {
    margin: 0;
    padding: 16px 18px !important;
    border: 1px solid var(--mpwem-border);
    border-radius: var(--mpwem-radius);
    background: linear-gradient(180deg, #f8fbff 0%, #f1f5f9 100%) !important;
}

.mpwem-speaker-panel__intro h4 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 650;
    color: var(--mpwem-text);
}

.mpwem-speaker-panel__intro p {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: var(--mpwem-muted);
}

.mpwem-speaker-panel__enable .mpev-label {
    margin: 0;
    padding: 14px 16px;
    border: 1px solid var(--mpwem-border);
    border-radius: var(--mpwem-radius);
    background: var(--mpwem-surface);
}

.mpwem-speaker-panel {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mpwem-speaker-display {
    border: 1px solid var(--mpwem-border);
    border-radius: var(--mpwem-radius);
    background: var(--mpwem-surface);
    overflow: hidden;
    box-shadow: var(--mpwem-shadow);
}

.mpwem-speaker-display__body {
    display: flex;
    flex-direction: column;
}

.mpwem-speaker-display__row {
    display: grid;
    grid-template-columns: minmax(160px, 0.9fr) minmax(0, 1.4fr);
    gap: 16px;
    align-items: center;
    padding: 16px 18px;
}

.mpwem-speaker-display__row + .mpwem-speaker-display__row {
    border-top: 1px solid #eef2f7;
}

.mpwem-speaker-display__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.mpwem-speaker-display__field-label {
    margin: 0;
    font-size: 14px;
    font-weight: 650;
    color: #20344d;
}

.mpwem-speaker-display__hint {
    font-size: 13px;
    line-height: 1.4;
    color: var(--mpwem-muted);
}

.mpwem-speaker-display__control {
    min-width: 0;
    display: flex;
    justify-content: flex-end;
}

.mpwem-speaker-display__input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 420px;
}

.mpwem-speaker-display__input-wrap > .dashicons {
    position: absolute;
    left: 12px;
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: #94a3b8;
    pointer-events: none;
}

.mpwem-speaker-display__input.formControl,
.mpwem-speaker-display__input-wrap input.formControl {
    width: 100%;
    max-width: none;
    height: 44px;
    margin: 0;
    padding: 0 14px 0 38px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
    color: var(--mpwem-text);
    font-size: 14px;
    font-weight: 500;
    box-shadow: none;
    box-sizing: border-box;
}

.mpwem-speaker-display__input.formControl:focus,
.mpwem-speaker-display__input-wrap input.formControl:focus {
    border-color: var(--mpwem-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
    outline: none;
}

.mpwem-speaker-display__icon-picker {
    justify-content: flex-end;
}

.mpwem-speaker-display__icon-picker .mpwem_add_icon_image_area {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.mpwem-speaker-display__icon-picker .mpwem_icon_item {
    margin: 0;
}

.mpwem-speaker-display__icon-picker .mpwem_icon_item.dNone {
    display: none !important;
}

.mpwem-speaker-display__icon-picker .mpwem_icon_item > button._button_theme {
    position: relative;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #dbeafe !important;
    border-radius: 14px !important;
    background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%) !important;
    color: #1d4ed8 !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
    transform: none !important;
}

.mpwem-speaker-display__icon-picker .mpwem_icon_item [data-add-icon] {
    font-size: 22px;
    line-height: 1;
    color: #1d4ed8;
}

.mpwem-speaker-display__icon-picker .mpwem_icon_item .mpwem_icon_remove,
.mpwem-speaker-display__icon-picker .mpwem_icon_item .remove_icon {
    position: absolute;
    top: -7px;
    right: -7px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    background: #fff;
    color: #64748b !important;
    font-size: 11px;
    line-height: 1;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
    cursor: pointer;
}

.mpwem-speaker-display__icon-picker .mpwem_icon_item .mpwem_icon_remove:hover,
.mpwem-speaker-display__icon-picker .mpwem_icon_item .remove_icon:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: #fff !important;
}

.mpwem-speaker-display__icon-picker .add_icon_image_button_area.dNone {
    display: none !important;
}

.mpwem-event-wizard .mpwem-speaker-display__icon-picker .mpwem_icon_add,
.mpwem-speaker-display__icon-picker .mpwem_icon_add {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    border: 1px dashed #93c5fd !important;
    border-radius: 10px !important;
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    font-size: 12px !important;
    font-weight: 650 !important;
    line-height: 1 !important;
    box-shadow: none !important;
    transform: none !important;
    white-space: nowrap;
}

.mpwem-event-wizard .mpwem-speaker-display__icon-picker .mpwem_icon_add:hover,
.mpwem-speaker-display__icon-picker .mpwem_icon_add:hover {
    background: #dbeafe !important;
    border-color: #60a5fa !important;
    color: #1e40af !important;
    transform: none !important;
    box-shadow: none !important;
}

.mpwem-event-wizard .mpwem-speaker-display__icon-picker .mpwem_icon_add span,
.mpwem-speaker-display__icon-picker .mpwem_icon_add span {
    color: inherit !important;
    margin: 0 !important;
}

.mpwem-speaker-picker {
    border: 1px solid var(--mpwem-border);
    border-radius: var(--mpwem-radius);
    background: var(--mpwem-surface);
    overflow: hidden;
}

.mpwem-speaker-picker__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--mpwem-border);
    background: #f8fafc;
}

.mpwem-speaker-picker__title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.mpwem-speaker-picker__title {
    margin: 0;
    font-size: 14px;
    font-weight: 650;
    color: var(--mpwem-text);
}

.mpwem-speaker-picker__count {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 999px;
    background: #e8eef8;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.3;
    white-space: nowrap;
}

.mpwem-speaker-picker__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.mpwem-speaker-picker__manage,
.mpwem-speaker-picker__add {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 12px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: var(--mpwem-btn-radius) !important;
    background: #fff !important;
    color: #334155 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    transform: none !important;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.mpwem-speaker-picker__manage:hover,
.mpwem-speaker-picker__add:hover {
    background: #f8fafc !important;
    border-color: #94a3b8 !important;
    color: var(--mpwem-text) !important;
    transform: none !important;
    box-shadow: none !important;
}

.mpwem-event-wizard .mpwem-speaker-picker__add,
.mpwem-speaker-picker__add {
    border-color: transparent !important;
    background: var(--mpwem-primary) !important;
    color: #fff !important;
}

.mpwem-event-wizard .mpwem-speaker-picker__add:hover,
.mpwem-speaker-picker__add:hover {
    background: var(--mpwem-primary-hover) !important;
    border-color: transparent !important;
    color: #fff !important;
}

.mpwem-event-wizard .mpwem-speaker-picker__add span,
.mpwem-speaker-picker__add span,
.mpwem-event-wizard .mpwem-speaker-picker__add .dashicons,
.mpwem-speaker-picker__add .dashicons {
    color: #fff !important;
}

.mpwem-speaker-picker__manage .dashicons,
.mpwem-speaker-picker__add .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
    line-height: 1;
}

.mpwem-speaker-select {
    padding: 14px;
}

.mpwem-speaker-select__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
}

.mpwem-speaker-option {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    padding: 14px 40px 14px 14px !important;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    box-shadow: none;
    color: var(--mpwem-text);
    cursor: pointer;
    user-select: none;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

label.mpwem-speaker-option {
    padding: 14px 40px 14px 14px !important;
}

.mpwem-speaker-option:hover {
    border-color: #bfdbfe;
    background: #f8fbff;
}

.mpwem-speaker-option.is-selected,
.mpwem-speaker-option:has(input[type="checkbox"]:checked) {
    border-color: #93c5fd;
    background: #eff6ff;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.12);
}

.mpwem-speaker-option input[type="checkbox"] {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    accent-color: var(--mpwem-primary);
    cursor: pointer;
}

.mpwem-speaker-option__avatar {
    position: relative;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    margin-top: 1px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dbeafe 0%, #e2e8f0 100%);
    color: #1d4ed8;
    overflow: hidden;
}

.mpwem-speaker-option__avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mpwem-speaker-option__initial {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}

.mpwem-speaker-option__check {
    position: absolute;
    right: -2px;
    bottom: -2px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--mpwem-primary);
    color: #fff;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.mpwem-speaker-option__check .dashicons {
    width: 12px;
    height: 12px;
    font-size: 12px;
    line-height: 12px;
}

.mpwem-speaker-option.is-selected .mpwem-speaker-option__check,
.mpwem-speaker-option:has(input[type="checkbox"]:checked) .mpwem-speaker-option__check {
    opacity: 1;
    transform: scale(1);
}

.mpwem-speaker-option__meta {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    flex: 1 1 auto;
}

.mpwem-speaker-option__name {
    display: block !important;
    width: 100%;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--mpwem-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mpwem-speaker-option__role {
    display: block !important;
    width: 100%;
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    color: #64748b !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mpwem-speaker-select__empty,
.mpwem-speaker-select__empty-state {
    margin: 0;
    color: var(--mpwem-muted);
    font-size: 14px;
}

.mpwem-speaker-select__empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 36px 20px;
    text-align: center;
}

.mpwem-speaker-select__empty-state .dashicons {
    width: 36px;
    height: 36px;
    font-size: 36px;
    color: #94a3b8;
}

.mpwem-speaker-select__empty-state p {
    margin: 0;
    max-width: 320px;
    line-height: 1.45;
}

@media screen and (max-width: 900px) {
    .mpwem-speaker-display__row {
        grid-template-columns: 1fr;
        gap: 8px;
        align-items: stretch;
    }

    .mpwem-speaker-display__control,
    .mpwem-speaker-display__icon-picker {
        justify-content: flex-start;
    }

    .mpwem-speaker-display__input-wrap {
        max-width: none;
    }

    .mpwem-speaker-display__icon-picker .mpwem_add_icon_image_area {
        justify-content: flex-start;
    }

    .mpwem-speaker-picker__toolbar {
        align-items: stretch;
    }

    .mpwem-speaker-picker__actions {
        width: 100%;
    }

    .mpwem-speaker-select__grid {
        grid-template-columns: 1fr;
    }
}
