/* 
   Elementor Language Switcher - Professional UI (v3.1.0)
   Style: Modern Segmented Control (iOS/High-End feel)
*/

.els-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #f1f3f5; /* Light gray track */
    padding: 5px;
    border-radius: 12px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.04);
    gap: 0; /* No gap, we rely on padding/margin of children if needed */
    transition: all 0.3s ease;
}

.els-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none !important;
    border: none;
    outline: none;
    cursor: pointer;
    
    /* Typography */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #6c757d; /* Muted text for inactive */
    line-height: 1.2;
    letter-spacing: 0.3px;
    
    /* Shape */
    padding: 10px 20px;
    border-radius: 8px;
    background-color: transparent;
    
    /* Transitions */
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    user-select: none;
}

/* Hover State (Inactive) */
.els-btn:not(.active):hover {
    color: #495057;
    background-color: rgba(255, 255, 255, 0.5);
}

/* Active State - The "Card" Look */
.els-btn.active {
    background-color: #ffffff;
    color: #212529; /* Dark, sharp text */
    box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
    cursor: pointer; /* Allow clicking again */
    pointer-events: auto; /* Re-enable events */
    transform: scale(1);
}

/* Flags */
.els-btn span.emoji {
    font-size: 16px;
    line-height: 1;
}

/* 
   -------------------------------------------------------
   Google Translate Hiding (Aggressive & Safe)
   -------------------------------------------------------
*/

/* Hide Top Banner - ALL Known Variants */
.goog-te-banner-frame,
iframe.goog-te-banner-frame,
.VIpgJd-ZVi9od-ORHb, 
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.skiptranslate.goog-te-gadget {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
}

/* Reset Body */
body {
    top: 0px !important; 
    position: static !important;
    min-height: auto !important;
}

/* Hide Widget Container */
#google_translate_element {
    visibility: hidden;
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    bottom: 0;
    right: 0;
    z-index: -1;
    opacity: 0;
}

/* Hide Tooltips & Popups */
.goog-tooltip,
.goog-tooltip:hover,
#goog-gt-tt, 
.goog-te-balloon-frame,
.goog-te-menu-value {
    display: none !important;
    visibility: hidden !important;
}

/* Hide Text Highlights */
.goog-text-highlight {
    background-color: transparent !important;
    border: none !important; 
    box-shadow: none !important;
}

/* Hide Branding */
.goog-logo-link {
    display: none !important;
}
.goog-te-gadget {
    color: transparent !important;
    font-size: 0 !important;
}
