/* =============================================
   CUSTOM CSS FOR NEW FEATURES
   ============================================= */

/* Top Bar */
.top-bar {
    background: #1e293b;
    color: #fff;
    padding: 0.4rem 0;
    font-size: 0.85rem;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.language-selector {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.lang-btn:hover {
    color: #fff;
}

.top-contacts {
    display: flex;
    gap: 1.5rem;
}

.top-contact {
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
}

.top-contact:hover {
    color: #fff;
}

.top-contact.whatsapp {
    color: #25d366;
    font-weight: 700;
}

/* Adjust Site Header Position */
.site-header {
    top: 36px;
}
.site-header.scrolled {
    top: 0;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
    display: flex;
}

.nav-dropdown > .nav-link {
    cursor: pointer;
}

.nav-dropdown > .nav-link i {
    font-size: 0.75rem;
    margin-left: 0.2rem;
    transition: transform 0.3s;
}

.nav-dropdown:hover > .nav-link i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border-radius: 0.5rem;
    padding: 0.5rem 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.6rem 1.2rem;
    color: #475569;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
}

.dropdown-menu a:hover {
    background: rgba(var(--color-primary-rgb), 0.05);
    color: var(--color-primary);
    padding-left: 1.5rem;
}

.btn-cliente {
    background: var(--color-primary);
    color: #fff !important;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-cliente:hover {
    background: var(--color-primary-dark);
}

/* Área do Cliente & Chamados Status */
.status-pill {
    padding: 0.3rem 0.8rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
}

.status-aberto {
    background: #fef3c7;
    color: #d97706;
}
.status-respondido {
    background: #e0e7ff;
    color: #4338ca;
}
.status-resolvido {
    background: #dcfce3;
    color: #15803d;
}

/* ====== GOOGLE TRANSLATE: HIDE EVERYTHING ====== */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover,
div#goog-gt-,
.VIpgJd-ZVi9od-l4eHX-hSRGPd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-ZVi9od-ORHb-OEVMBf,
div.skiptranslate.goog-te-gadget,
iframe.goog-te-banner-frame {
    display: none !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
body { top: 0px !important; position: relative !important; }
html.translated-ltr body, html.translated-rtl body { top: 0px !important; }
.skiptranslate { display: none !important; }
#google_translate_element { display: none !important; }

/* ====== TOP BAR MOBILE ====== */
@media (max-width: 768px) {
    .top-bar {
        padding: 0.5rem 0 0.6rem;
    }
    .top-bar-inner {
        flex-direction: column;
        gap: 0.3rem;
    }
    .language-selector {
        justify-content: center;
    }
    .top-contacts {
        justify-content: center;
        gap: 1rem;
        font-size: 0.8rem;
    }
    .site-header {
        top: 58px;
    }
}
