/* Whizzy Translate Language Switcher — Compact dark badge */

.wt-switcher-wrap {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
}

/* Hidden langs — slides up on hover */
.wt-switcher-langs {
    background: #111;
    border-radius: 10px 10px 0 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.25s ease, opacity 0.2s ease, padding 0.25s ease;
    padding: 0;
}

.wt-switcher-wrap:hover .wt-switcher-langs {
    max-height: 300px;
    opacity: 1;
    padding: 6px 0;
}

/* Active lang — always visible */
.wt-switcher-active {
    background: #111;
    border-radius: 10px;
    padding: 0;
    cursor: default;
    transition: border-radius 0.2s ease;
}

.wt-switcher-wrap:hover .wt-switcher-active {
    border-radius: 0 0 10px 10px;
}

/* Divider */
.wt-switcher-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    margin: 0;
    opacity: 0;
    width: 100%;
    transition: opacity 0.2s ease;
}

.wt-switcher-wrap:hover .wt-switcher-divider {
    opacity: 1;
}

/* Each language item */
.wt-lang {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.8px;
    transition: background 0.15s ease;
    white-space: nowrap;
}

a.wt-lang:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    text-decoration: none;
}

.wt-lang.active {
    cursor: default;
}

/* Flag — small rectangle, slight rounding */
.wt-lang-flag {
    width: 22px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
    display: block;
}
