/* Digibahasa Language Switcher CSS */
.digibahasa-lang-switcher-container {
    font-family: Arial, sans-serif;
    position: relative;
    display: inline-block;
}

.digibahasa-lang-switcher-button {
    display: flex;
    align-items: center;
    background-color: transparent;
    border-radius: 20px;
    padding: 5px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
    border: none;
}

.digibahasa-lang-flag {
    width: 20px;
    height: 15px;
    margin-right: 8px;
}

.digibahasa-lang-text {
    font-weight: 600;
    font-size: 14px;
    margin-right: 8px;
}

.digibahasa-arrow-down {
    width: 10px;
    height: 6px;
    transition: transform 0.3s ease;
}

.digibahasa-lang-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 150px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 8px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.digibahasa-lang-dropdown.show {
    opacity: 1;
    visibility: visible;
}

.digibahasa-lang-option {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    transition: background-color 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: #333;
}

.digibahasa-lang-option:hover {
    background-color: #f5f5f5;
    text-decoration: none;
    color: #333;
}

.digibahasa-lang-option .digibahasa-lang-flag {
    margin-right: 10px;
}

/* RTL Support for Arabic */
body.digibahasa-rtl {
    direction: rtl;
    text-align: right;
}

body.digibahasa-rtl .digibahasa-lang-switcher-container {
    direction: ltr;
}

/* Hide Google Translate elements */
.goog-te-gadget,
.goog-te-combo,
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

body {
    top: 0px !important;
}

#google_translate_element {
    display: none !important;
}

/* Fix for Google Translate affecting layout */
.goog-te-banner-frame {
    display: none !important;
}

.goog-te-menu-value {
    display: none !important;
}