/* TH Simple Translate – Frontend Language Switcher */

.thst-lang-switcher {
    display: inline-block;
    position: relative;
}

.thst-lang-select {
    padding: 6px 30px 6px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    color: #333;
    cursor: pointer;
    appearance: auto;
    min-width: 150px;
}

.thst-lang-select:hover {
    border-color: #999;
}

.thst-lang-select:focus {
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
    outline: none;
}

/* List style */
.thst-lang-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.thst-lang-item a {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: all 0.2s;
}

.thst-lang-item a:hover {
    background: #f0f0f0;
    border-color: #999;
}

.thst-lang-item.thst-lang-active a {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}
