/* Selector de idiomas */
.language-selector-wrapper {
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 9999;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background: #000000;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.language-flag-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.language-flag-btn svg {
    width: 24px;
    height: 24px;
    fill: #ffffff;
    stroke: #ffffff;
}

.language-dropdown {
    display: none;
    position: fixed;
    top: 60px;
    right: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    min-width: 220px;
    z-index: 999999;
    overflow: visible;
}

.language-dropdown.active {
    display: block;
}

.language-dropdown-header {
    padding: 12px 15px;
    background: #487790;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px 8px 0 0;
}

.language-option {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    cursor: pointer;
    transition: background 0.2s;
    border: none;
    background: #fff;
    width: 100%;
    text-align: left;
    font-size: 14px;
    color: #333;
}

.language-option:hover {
    background: #f0f0f0;
}

.language-option.active {
    background: #e3f2fd;
}

.language-option:last-child {
    border-radius: 0 0 8px 8px;
}

.language-option img {
    width: 28px;
    height: 20px;
    min-width: 28px;
    margin-right: 12px;
    border-radius: 3px;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.language-option span {
    flex: 1;
    white-space: nowrap;
}

#google_translate_element {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 1px;
    height: 1px;
    opacity: 0.01;
    overflow: hidden;
    z-index: -1;
}

.goog-te-banner-frame {
    display: none !important;
}

body {
    top: 0 !important;
}

.goog-te-gadget {
    font-size: 0 !important;
}

.VIpgJd-ZVi9od-ORHb-OEVmcd {
    display: none !important;
}

.skiptranslate {
    display: none !important;
    height: 0 !important;
}

iframe.goog-te-menu-frame {
    box-shadow: none !important;
}