/* Widget GPTranslate Offcanvas - Replica stile originale */
.gpt-offcanvas-widget {
    position: relative;
}

.gpt-offcanvas-widget .gpt-switcher {
    position: relative;
    display: inline-block;
}

.gpt-offcanvas-widget .gpt-current-selection {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: #00000080;
    border: 1px solid rgb(255, 255, 255);
    color: #000000;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 0 7px #000;
}

.gpt-offcanvas-widget .gpt-current-selection:hover {
    background: rgba(63, 52, 35, 1);
    border-color: rgba(255, 255, 255, 1);
    border: 1px solid;
}

.gpt-offcanvas-widget .gpt-current-selection img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

.gpt-offcanvas-widget .gpt-current-selection span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.gpt-offcanvas-widget .gpt-current-selection:hover span {
    color: rgba(255, 255, 255, 1);
}
.gpt-offcanvas-widget .gpt-arrow {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid rgba(255, 255, 255, 0.7);
    margin-left: 5px;
    transition: transform 0.2s ease;
}

.gpt-offcanvas-widget.open .gpt-arrow {
    transform: rotate(180deg);
}

.gpt-offcanvas-widget .gpt-dropdown {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 0;
    margin-bottom: 5px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(236, 224, 172, 0.7);
    border-radius: 6px;
    min-width: 180px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.gpt-offcanvas-widget.open .gpt-dropdown {
    display: block;
}

.gpt-offcanvas-widget .gpt-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.15s ease;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    font-weight: 300;
}

.gpt-offcanvas-widget .gpt-dropdown a:last-child {
    border-bottom: none;
}

.gpt-offcanvas-widget .gpt-dropdown a:hover {
    background: rgba(120, 120, 120,  0.4);
    color: #ffffff;
}

.gpt-offcanvas-widget .gpt-dropdown a.active {
    background: rgba(86, 86, 86, 0.9);
    color: #ffffff;
    font-weight: 700;
}

.gpt-offcanvas-widget .gpt-dropdown img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

/* Scrollbar custom per dropdown */
.gpt-offcanvas-widget .gpt-dropdown::-webkit-scrollbar {
    width: 6px;
}

.gpt-offcanvas-widget .gpt-dropdown::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
}

.gpt-offcanvas-widget .gpt-dropdown::-webkit-scrollbar-thumb {
    background: rgba(113, 104, 232, 0.5);
    border-radius: 3px;
}