/* ── Form Select shortcode ── */
.fsel-wrap {
    width: 100%;
    margin-bottom: 24px;
    font-family: inherit;
}

.fsel-selector {
    position: relative;
    width: 100%;
}

/* Trigger (closed dropdown) */
.fsel-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 14px;
    border: 1px solid #dcdcde;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    user-select: none;
    transition: border-color .15s;
}
.fsel-trigger:hover,
.fsel-trigger[aria-expanded="true"] {
    border-color: var(--forge-accent, #2271b1);
}
.fsel-trigger-inner {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
/* Shared with .fsel-opt-label / .fsel-opt-desc below */
.fsel-trigger-label,
.fsel-opt-label {
    font-size: 15px;
    font-weight: 700;
    color: #1d2327;
    line-height: 1.2;
}
.fsel-trigger-desc,
.fsel-opt-desc {
    font-size: 13px;
    color: #50575e;
    line-height: 1.4;
}
.fsel-chevron {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #787c82;
    transition: transform .2s;
}
.fsel-trigger[aria-expanded="true"] .fsel-chevron {
    transform: rotate(180deg);
}

/* Options panel */
.fsel-options {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 100;
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
    overflow: hidden;
    max-height: 340px;
    overflow-y: auto;
}
.fsel-option {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f1;
    transition: background .1s;
}
.fsel-option:last-child { border-bottom: none; }
.fsel-option:hover,
.fsel-option:focus {
    background: #f6f7f7;
    outline: none;
}
.fsel-option--active {
    background: #f0f6fc;
}
/* Forms container */
.fsel-forms {
    margin-top: 20px;
}
.fsel-form--hidden {
    display: none;
}
