/**
 * Language Switcher CSS
 * Стили для переключателя языков в теме custom-green
 */

.product-name-text {
    text-align: center;
    color: #999;
    font-size: 14px;
    margin-top: 15px;
    margin-bottom: 0;
    font-weight: 400;
    background: transparent !important;
    padding: 0 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.support-link-container {
    text-align: center;
    margin-top: 10px;
    background: transparent !important;
    padding: 0 !important;
}

.support-link {
    display: inline-block;
    background: #2d5641;
    color: #e6e6e6 !important;
    text-decoration: none !important;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.support-link:hover {
    background: #1b3528;
    color: #e6e6e6 !important;
    text-decoration: none !important;
}

.support-link:active {
    background: #2d5641 !important;
    color: #e6e6e6 !important;
}

.language-switcher-wrap {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 0px;
    background: transparent !important;
    padding: 0 !important;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 12px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.language-switcher,
.theme-switcher {
    display: flex;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    padding: 4px;
    gap: 6px;
    flex: 1;
}

.theme-switcher {
    flex: 0 0 auto;
    min-width: 120px;
}

.lang-btn,
.theme-btn {
    background: rgba(0, 0, 0, 0.15);
    border: none;
    color: #888;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.2s ease;
    flex: 1;
    font-family: inherit;
}

.lang-btn:hover,
.theme-btn:hover {
    background: rgba(0, 0, 0, 0.3);
    color: #555;
}

.lang-btn.active,
.theme-btn.active {
    background: #2d5641 !important;
    color: #e6e6e6 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.theme-btn {
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

.theme-btn.active svg {
    stroke: #e6e6e6;
}

/* Адаптивность */
@media (max-width: 768px) {
    .language-switcher-wrap {
        flex-direction: column;
        gap: 10px;
    }

    .lang-btn,
    .theme-btn {
        padding: 14px 20px;
        font-size: 15px;
    }

    .theme-switcher {
        min-width: 100%;
    }
}
