/* ============================================
   OSP Unified Header — Shared across all apps
   Reihenfolge (von rechts): Theme | Logout | User | DateTime | Settings | Feedback | Home | NewEntry
   ============================================ */

/* ── Header Icon Buttons ──────────────────── */
.header-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    color: white;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    flex-shrink: 0;
    padding: 0;
    font-family: inherit;
}

.header-btn-icon:hover {
    background: rgba(255,255,255,0.22);
    color: white;
    text-decoration: none;
}

.header-btn-icon.disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

.header-btn-icon svg {
    width: 17px;
    height: 17px;
}

/* ── Header Separator ─────────────────────── */
.header-sep {
    width: 1px;
    height: 24px;
    background: rgba(255,255,255,0.2);
    flex-shrink: 0;
}

/* ── Header Time / Date ───────────────────── */
.header-time {
    font-variant-numeric: tabular-nums;
    opacity: 0.9;
    font-size: 0.82rem;
    white-space: nowrap;
}

.header-date-text {
    opacity: 0.7;
    font-size: 0.78rem;
    white-space: nowrap;
}

/* ── User Badge ───────────────────────────── */
.user-badge {
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    padding: 4px 10px;
    background: rgba(255,255,255,0.18);
    border-radius: 6px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* ── Responsive: hide elements on small screens ─── */
@media (max-width: 768px) {
    .header-date-text { display: none; }
    .header-hide-mobile { display: none !important; }
}

@media (max-width: 480px) {
    .header-time { display: none; }
}

@media print {
    .header-btn-icon,
    .header-btn-primary,
    .header-btn-outline,
    .user-badge {
        display: none !important;
    }
}
