/* =========================================================
   GOOGLE TRANSLATE – CLEAN / HIDE DEFAULT UI
========================================================= */
body {
    top: 0px !important;
}

.skiptranslate {
    display: none !important;
}

.goog-logo-link {
    display: none !important;
}

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

.goog-te-gadget .goog-te-combo {
    font-size: 14px !important;
    border-radius: 4px;
    padding: 5px;
}

/* Bandeau Google Translate en haut (iframe injectée) */
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf-ti6hGc {
    display: none !important;
}

/* =========================================================
   TRANSLATE WIDGET UI
========================================================= */
.gtw-fixed {
    top: 80px;
    right: 20px;
    position: fixed;
    z-index: 99999;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.gtw-btn {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    font-size: 14px;
    line-height: 1;
    user-select: none;
}

.gtw-btn .gtw-current {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gtw-caret {
    font-size: 12px;
    opacity: 0.75;
}

/* =========================================================
   DROPDOWN
========================================================= */
.gtw-menu {
    margin-top: 8px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
    overflow: hidden;
    min-width: 200px;
    display: none;
}

.gtw-menu.is-open {
    display: block;
}

.gtw-item {
    width: 100%;
    text-align: left;
    padding: 0.65rem 0.8rem;
    border: 0;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.gtw-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

.gtw-item.is-active {
    font-weight: 600;
}

.gtw-hidden {
    display: none !important;
}

/* =========================================================
   FLAGS (SVG inline)
========================================================= */
.gtw-flag {
    width: 18px;
    height: 12px;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
    flex: 0 0 auto;
}

/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 768px) {
    .gtw-fixed {
        top: 25px;
    }
}