/* QC Language Switcher Styles */

/* Container */
.qc-lng-switcher-container {
    position: relative;
    z-index: 10;
}

/* Switcher base */
.qc-lng-switcher {
    position: relative;
}

/* Toggle button */
.qc-lng-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 6px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 1;
    transition: all 0.2s ease;
}

.qc-lng-toggle:hover {
    opacity: 0.8;
}

.qc-lng-toggle.active {
    opacity: 1;
}

/* Default button (disabled state) */
.qc-default-lng {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border: none;
    background-color: transparent;
    cursor: not-allowed;
    opacity: 0.5;
}

/* Dropdown container */
.qc-lng-dropdown {
    position: absolute;
    margin-top: 8px;
    background-color: #f5f5f5;
    border: 1px solid #e5e5e5;
    padding: 8px;
    min-width: 100px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Language list */
.qc-lang-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.qc-lang-item {
    margin: 0;
}

/* Language links */
.qc-lang-link {
    display: inline-flex;
    width: 100%;
    padding: 8px;
    color: inherit;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.qc-lang-link:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Icon */
.qc-lng-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.qc-rotate-180 {
    transform: rotate(180deg);
}

/* Filter select chevron (legacy support) */
.filter-select-chevron {
    width: 12px;
    height: 7px;
    transition: transform 0.2s ease;
}

.qc-lng-toggle.active .filter-select-chevron {
    transform: rotate(180deg);
}
