/* ═══════════════════════════════════════════
   navbar_client.css — הדר האתר צד הלקוח
   Include מכל דפי הלקוח
   ═══════════════════════════════════════════ */

.stw-navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    height: 60px;
}
.stw-navbar__inner {
    max-width: 1100px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

/* לוגו */
.stw-navbar__logo {
    font-size: 20px;
    font-weight: 700;
    color: #667eea;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.stw-navbar__logo i { font-size: 19px; }
.stw-navbar__logo:hover { color: #5a6fd6; }

/* לינקים מרכז */
.stw-navbar__links {
    list-style: none;
    display: flex;
    gap: 4px;
}
.stw-navbar__links a {
    text-decoration: none;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    padding: 7px 13px;
    border-radius: 7px;
    transition: all .2s;
}
.stw-navbar__links a:hover {
    background: #f0f2ff;
    color: #667eea;
}

/* יוזר */
.stw-navbar__user-wrap { position: relative; }
.stw-navbar__user {
    display: flex;
    align-items: center;
    gap: 9px;
    background: #f3f0ff;
    padding: 5px 14px 5px 8px;
    border-radius: 22px;
    cursor: pointer;
    transition: background .2s;
    user-select: none;
}
.stw-navbar__user:hover { background: #ebe5ff; }
.stw-navbar__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.stw-navbar__user-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

/* תפריט ירוד */
.stw-navbar__dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0,0,0,.13);
    min-width: 185px;
    overflow: hidden;
    z-index: 200;
}
.stw-navbar__dropdown.open { display: block; }

.stw-navbar__dropdown a {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 18px;
    text-decoration: none;
    color: #444;
    font-size: 14px;
    transition: background .15s;
}
.stw-navbar__dropdown a:hover {
    background: #f5f7ff;
    color: #667eea;
}
.stw-navbar__dropdown a i {
    width: 16px;
    text-align: center;
    color: #667eea;
}
.stw-navbar__sep {
    height: 1px;
    background: #f0f0f0;
    margin: 4px 0;
}
.stw-navbar__logout { color: #e74c3c !important; }
.stw-navbar__logout i { color: #e74c3c !important; }

/* ─── Responsive ─── */
@media (max-width: 680px) {
    .stw-navbar__inner { padding: 0 14px; }
    .stw-navbar__links a { padding: 6px 9px; font-size: 13px; }
    .stw-navbar__logo { font-size: 18px; }
}