/* ==========================================================
   Menu superior - App Cliente SEAL
   Arquivo: top_nav_cliente.css
   ========================================================== */

.app-header {
    width: 100%;
    height: 72px;
    background: #111827;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 18px rgba(0,0,0,.20);
}

.header-left,
.header-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.menu-btn,
.top-back-btn {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: rgba(255,255,255,.08);
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    transition: .2s;
}

.menu-btn:hover,
.top-back-btn:hover {
    background: rgba(255,255,255,.16);
}

.small-menu {
    width: 40px;
    height: 40px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: .2px;
}

.brand img {
    height: 38px;
    width: auto;
    display: block;
}

.brand-text small {
    display: block;
    font-size: 12px;
    color: #cbd5e1;
    font-weight: 500;
    margin-top: 2px;
}

.shop-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,.08);
    transition: .2s;
}

.shop-link:hover {
    background: rgba(255,255,255,.16);
}

.shop-link img {
    max-width: 34px;
    max-height: 34px;
    display: block;
}

.dropdown-menu {
    position: fixed;
    top: 78px;
    left: 22px;
    width: 280px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .10);
    overflow: hidden;
    display: none;
    z-index: 1100;
}

.dropdown-menu.show {
    display: block;
    animation: topMenuIn .18s ease-out;
}

@keyframes topMenuIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: #1f2937;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #f1f5f9;
    transition: .2s;
}

.dropdown-menu a:last-child {
    border-bottom: 0;
}

.dropdown-menu a:hover {
    background: #f8fafc;
    color: #2563eb;
}

.dropdown-menu i {
    width: 22px;
    text-align: center;
    color: #2563eb;
}

@media (max-width: 520px) {
    .app-header {
        height: 58px;
        padding: 0 14px;
    }

    .menu-btn,
    .top-back-btn {
        width: 40px;
        height: 40px;
    }

    .brand-text {
        display: none;
    }

    .brand img {
        height: 28px;
    }

    .shop-link {
        width: 40px;
        height: 40px;
    }

    .shop-link img {
        max-width: 30px;
        max-height: 30px;
    }

    .dropdown-menu {
        top: 64px;
        left: 12px;
        right: 12px;
        width: auto;
    }
}