/* Tiny Multilang — Frontend Switcher */

/* --- Inline stijl --- */
.tml-switcher--inline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.tml-switcher--inline li a {
    text-decoration: none;
    padding: 4px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    color: inherit;
    transition: background 0.15s;
}

.tml-switcher--inline li a:hover {
    background: #f0f0f0;
}

.tml-switcher--inline li.tml-active a {
    background: #2271b1;
    color: #fff;
    border-color: #2271b1;
    font-weight: 600;
}

/* --- Dropdown stijl --- */
.tml-switcher--dropdown {
    position: relative;
    display: inline-block;
}

.tml-dropdown-toggle {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: inherit;
}

.tml-dropdown-toggle:hover {
    border-color: #999;
}

.tml-arrow {
    font-size: 10px;
    opacity: 0.6;
    transition: transform 0.15s;
}

.tml-switcher--dropdown.tml-open .tml-arrow {
    transform: rotate(180deg);
}

.tml-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    list-style: none;
    margin: 0;
    padding: 4px 0;
    min-width: 140px;
    z-index: 9999;
}

.tml-switcher--dropdown.tml-open .tml-dropdown-menu {
    display: block;
}

.tml-dropdown-menu li a {
    display: block;
    padding: 8px 14px;
    text-decoration: none;
    font-size: 13px;
    color: inherit;
    white-space: nowrap;
}

.tml-dropdown-menu li a:hover {
    background: #f6f7f7;
}
