/* ══════════════════════════════════════════════════
   TransMagic — Shortcode Styles
   ══════════════════════════════════════════════════ */

.flt-sc-switcher {
    --flt-primary: #5b4bc9;
    --flt-hover: #f4f0ff;
    --flt-active-bg: #ede8ff;
    --flt-border: #e2e2e6;
    --flt-radius: 8px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.4;
}

/* ── Horizontal ──────────────────────────────────── */
.flt-sc-horizontal {
    display: inline-flex;
    gap: 4px;
    flex-wrap: wrap;
    background: #f8f8fa;
    border: 1px solid var(--flt-border);
    border-radius: var(--flt-radius);
    padding: 3px;
}

.flt-sc-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    text-decoration: none;
    color: #444;
    border-radius: 6px;
    transition: all .15s;
    white-space: nowrap;
}

.flt-sc-link:hover {
    background: var(--flt-hover);
    color: var(--flt-primary);
}

.flt-sc-link.flt-sc-active {
    color: #333;
    font-weight: 500;
}

/* ── Dropdown ────────────────────────────────────── */
.flt-sc-dropdown {
    position: relative;
    display: inline-block;
}

.flt-sc-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid var(--flt-border);
    border-radius: var(--flt-radius);
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: all .15s;
}

.flt-sc-dropdown-toggle:hover {
    border-color: var(--flt-primary);
    box-shadow: 0 0 0 2px rgba(91,75,201,.1);
}

.flt-sc-chevron {
    margin-left: 2px;
    opacity: 0.5;
    transition: transform .2s;
}

.flt-sc-dropdown-toggle[aria-expanded="true"] .flt-sc-chevron {
    transform: rotate(180deg);
}

.flt-sc-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 100%;
    background: #fff;
    border: 1px solid var(--flt-border);
    border-radius: var(--flt-radius);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    list-style: none;
    margin: 0;
    padding: 4px;
    z-index: 10000;
    display: none;
    animation: flt-sc-drop .15s ease-out;
}

@keyframes flt-sc-drop {
    from { transform: translateY(-4px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

.flt-sc-dropdown-menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.flt-sc-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    text-decoration: none;
    color: #333;
    border-radius: 6px;
    transition: background .1s;
    white-space: nowrap;
}

.flt-sc-option:hover {
    background: var(--flt-hover);
    color: var(--flt-primary);
}

.flt-sc-option.flt-sc-active {
    background: var(--flt-active-bg);
    color: var(--flt-primary);
    font-weight: 600;
}

/* ── Flags only ──────────────────────────────────── */
.flt-sc-flags {
    display: inline-flex;
    gap: 2px;
    flex-wrap: wrap;
}

.flt-sc-flag-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    border-radius: 50%;
    text-decoration: none;
    transition: all .15s;
    border: none;
}

.flt-sc-flag-link:hover {
    transform: scale(1.15);
}

.flt-sc-flag-link.flt-sc-active {
    /* no highlight */
}

.flt-sc-flag-large {
    font-size: 20px;
    line-height: 1;
}

/* ── Vertical list ───────────────────────────────── */
.flt-sc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.flt-sc-list li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.flt-sc-list-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    text-decoration: none;
    color: #444;
    border-radius: var(--flt-radius);
    transition: all .1s;
}

.flt-sc-list-link:hover {
    background: var(--flt-hover);
    color: var(--flt-primary);
}

.flt-sc-list-link.flt-sc-active {
    background: var(--flt-active-bg);
    color: var(--flt-primary);
    font-weight: 600;
}

/* ── Shared ──────────────────────────────────────── */
.flt-sc-flag {
    font-size: 16px;
    line-height: 1;
}

.flt-sc-name {
    font-size: 13px;
}
