/* Google Translate Widget Styling */

/* Hide the default Google Translate banner */
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

body {
    top: 0px !important;
}

/* Style the Google Translate element */
#google_translate_element {
    display: inline-block !important;
    position: relative !important;
    z-index: 100 !important;
    margin: 0 10px !important;
}

/* Style the Google Translate gadget */
.goog-te-gadget {
    color: #333 !important;
    font-family: inherit !important;
    font-size: 14px !important;
}

.goog-te-gadget .goog-te-combo {
    margin: 0 !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    background: white !important;
    color: #333 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease !important;
}

.goog-te-gadget .goog-te-combo:hover {
    border-color: #8B5CF6 !important;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2) !important;
    transform: translateY(-1px) !important;
}

.goog-te-gadget-simple {
    background: rgba(255,255,255,0.95) !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease !important;
}

.goog-te-gadget-simple:hover {
    border-color: #8B5CF6 !important;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2) !important;
    transform: translateY(-1px) !important;
}

.goog-te-gadget-simple .goog-te-menu-value span:first-child {
    color: #333 !important;
    font-weight: 500 !important;
}

.goog-te-gadget-simple .goog-te-menu-value {
    color: #333 !important;
    font-weight: 500 !important;
}

/* Hide the language indicator text */
#current_lang {
    display: none !important;
}

/* Center the Google Translate widget in the header */
.professional-header #google_translate_element {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    top: 50% !important;
    margin-top: -20px !important;
}

/* Ensure proper spacing in the header */
.professional-header .navbar {
    position: relative !important;
}

.professional-header .navbar-brand {
    margin-right: auto !important;
}

.professional-header .navbar-toggler {
    margin-left: auto !important;
}

/* Mobile responsive adjustments */
@media (max-width: 991.98px) {
    .professional-header #google_translate_element {
        position: static !important;
        transform: none !important;
        margin: 10px auto !important;
        display: block !important;
        text-align: center !important;
    }
}

/* Additional styling for better visibility */
.goog-te-menu-frame {
    z-index: 9999 !important;
}

.goog-te-menu {
    border-radius: 8px !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
    border: none !important;
}

.goog-te-menu .goog-te-menu2 {
    border-radius: 8px !important;
}

.goog-te-menu .goog-te-menu2-item {
    padding: 8px 12px !important;
    transition: all 0.3s ease !important;
}

.goog-te-menu .goog-te-menu2-item:hover {
    background: #8B5CF6 !important;
    color: white !important;
}







