/* AVERO go - Styles v2.0 - Combined */

/* ========== CSS VARIABLES ========== */
:root {
    --primary: #AC1855;
    --primary-light: #d4006a;
    --primary-glow: rgba(172, 24, 85, 0.3);
    --success: #30d158;
    --warning: #ff9f0a;
    --blue: #007aff;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --bg-primary: #f5f5f7;
    --bg-card: rgba(255, 255, 255, 0.72);
    --bg-card-solid: #ffffff;
    --border-light: rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.12);
    --radius-lg: 24px;
    --radius-xl: 32px;
}

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/* Skip-to-Content: Accessibility */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10000;
    padding: 12px 24px;
    background: var(--primary);
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 16px;
}

/* Focus-Visible: Keyboard-Navigation sichtbar machen */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Zoom-Schutz: Double-Tap-Zoom verhindern (iOS ignoriert user-scalable=no) */
html {
    touch-action: manipulation;
}

/* Input-Focus-Zoom verhindern: iOS zoomt bei font-size < 16px */
input, select, textarea {
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* ========== BACKGROUND ========== */
.bg-gradient {
    position: fixed; 
    inset: 0; 
    z-index: 0; 
    pointer-events: none;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(172, 24, 85, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(0, 122, 255, 0.06) 0%, transparent 50%);
    animation: gradientShift 20s ease-in-out infinite;
}

@keyframes gradientShift { 
    0%, 100% { opacity: 1; } 
    50% { opacity: 0.7; } 
}

/* ========== LAYOUT ========== */
.app-container {
    position: relative; 
    z-index: 1;
    max-width: 430px; 
    margin: 0 auto; 
    min-height: 100vh;
}

/* ========== HEADER ========== */
.header {
    padding: 16px 24px;
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    backdrop-filter: blur(20px); 
    -webkit-backdrop-filter: blur(20px);
    background: rgba(245, 245, 247, 0.72);
    position: sticky; 
    top: 0; 
    z-index: 100;
    border-bottom: 0.5px solid var(--border-light);
}

.logo-container { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
}

.logo-icon {
    width: 40px; 
    height: 40px; 
    border-radius: 10px;
    overflow: hidden; 
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(172, 24, 85, 0.3);
}

.logo-icon svg { 
    width: 100%; 
    height: 100%; 
    display: block; 
}

.app-branding { 
    display: flex; 
    align-items: baseline; 
    gap: 6px; 
}

.app-title-avero { 
    font-size: 22px; 
    font-weight: 700; 
    letter-spacing: -0.5px; 
    color: var(--primary); 
}

.app-title-mobile { 
    font-family: 'Cormorant Garamond', Georgia, serif; 
    font-size: 20px; 
    font-weight: 500; 
    font-style: italic; 
    color: var(--text-primary); 
    letter-spacing: 0.5px; 
}

.app-title-light { 
    font-size: 11px; 
    font-weight: 600; 
    color: var(--text-secondary); 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    background: rgba(0,0,0,0.06); 
    padding: 3px 8px; 
    border-radius: 4px; 
    margin-left: 4px; 
}

/* ========== API STATUS ========== */
.api-status { 
    font-size: 10px; 
    padding: 4px 8px; 
    border-radius: 100px; 
    font-weight: 500; 
}

.api-status.connected { 
    background: rgba(48, 209, 88, 0.15); 
    color: var(--success); 
}

.api-status.disconnected { 
    background: rgba(255, 69, 58, 0.15); 
    color: #ff453a; 
}

.api-status.loading { 
    background: rgba(255, 159, 10, 0.15); 
    color: var(--warning); 
}

/* ========== STATUS CARD ========== */
.status-card {
    margin: 20px;
    background: var(--bg-card);
    backdrop-filter: blur(40px); 
    -webkit-backdrop-filter: blur(40px);
    border-radius: var(--radius-xl);
    padding: 32px 28px;
    box-shadow: var(--shadow-md);
    border: 0.5px solid rgba(255, 255, 255, 0.5);
    text-align: center;
    animation: cardReveal 0.8s ease-out forwards;
}

@keyframes cardReveal { 
    from { opacity: 0; transform: translateY(20px); } 
    to { opacity: 1; transform: translateY(0); } 
}

.greeting { 
    font-size: 15px; 
    font-weight: 500; 
    color: var(--text-secondary); 
    margin-bottom: 4px; 
}

.current-time { 
    font-size: 64px; 
    font-weight: 200; 
    letter-spacing: -3px; 
    line-height: 1; 
    margin-bottom: 4px; 
    font-variant-numeric: tabular-nums; 
}

.current-date { 
    font-size: 15px; 
    color: var(--text-secondary); 
    margin-bottom: 24px; 
}

/* ========== STATUS BADGE ========== */
.status-badge { 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    padding: 10px 20px; 
    border-radius: 100px; 
    font-size: 14px; 
    font-weight: 600; 
    transition: all 0.4s ease; 
}

.status-badge.idle { 
    background: rgba(174, 174, 178, 0.16); 
    color: var(--text-secondary); 
}

.status-badge.working { 
    background: rgba(48, 209, 88, 0.16); 
    color: #28a745; 
}

.status-badge.paused { 
    background: rgba(255, 159, 10, 0.16); 
    color: #e68900; 
}

.status-badge.finished { 
    background: rgba(172, 24, 85, 0.12); 
    color: var(--primary); 
}

.status-dot { 
    width: 8px; 
    height: 8px; 
    border-radius: 50%; 
    background: currentColor; 
    position: relative; 
}

.status-badge.working .status-dot::after { 
    content: ''; 
    position: absolute; 
    inset: -4px; 
    border-radius: 50%; 
    background: currentColor; 
    opacity: 0.3; 
    animation: statusPulse 2s ease-in-out infinite; 
}

@keyframes statusPulse { 
    0%, 100% { transform: scale(1); opacity: 0.3; } 
    50% { transform: scale(1.5); opacity: 0; } 
}

/* ========== STATUS ROW & STOPWATCH ========== */
.status-row { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 12px; 
    flex-wrap: nowrap; 
}

.status-stopwatch { 
    display: flex; 
    align-items: center; 
    gap: 6px; 
    padding: 10px 16px; 
    border-radius: 100px; 
    background: rgba(0, 0, 0, 0.06); 
    font-size: 15px; 
    font-weight: 600; 
    font-variant-numeric: tabular-nums; 
    visibility: hidden; 
    opacity: 0; 
    transition: opacity 0.3s ease, background 0.3s ease, visibility 0.3s ease; 
    white-space: nowrap; 
    min-width: 85px; 
    text-align: center; 
}

.status-stopwatch.active { 
    visibility: visible; 
    opacity: 1; 
}

.status-stopwatch.working { 
    background: rgba(48, 209, 88, 0.15); 
    color: var(--success); 
}

.status-stopwatch.paused { 
    background: rgba(255, 159, 10, 0.15); 
    color: var(--warning); 
    animation: pausePulse 1.5s ease-in-out infinite; 
}

@keyframes pausePulse { 
    0%, 100% { opacity: 1; } 
    50% { opacity: 0.6; } 
}

.stopwatch-icon { 
    font-size: 14px; 
    display: flex;
    align-items: center;
}

/* ========== WORKING TIME ========== */
.working-time { 
    margin-top: 28px; 
    padding-top: 24px; 
    border-top: 0.5px solid var(--border-light); 
}

.working-time-label { 
    font-size: 12px; 
    font-weight: 500; 
    color: #aeaeb2; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    margin-bottom: 6px; 
}

.working-time-value { 
    font-size: 36px; 
    font-weight: 600; 
    letter-spacing: -1px; 
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    background-clip: text; 
}

.working-time-detail { 
    font-size: 13px; 
    color: var(--text-secondary); 
    margin-top: 4px; 
}

/* ========== BUTTONS ========== */
.actions-section { 
    padding: 0 20px; 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
    animation: cardReveal 0.8s ease-out 0.2s backwards; 
}

.btn { 
    position: relative; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 14px; 
    padding: 20px 28px; 
    border: none; 
    border-radius: var(--radius-lg); 
    font-family: inherit; 
    font-size: 17px; 
    font-weight: 600; 
    letter-spacing: -0.3px; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    overflow: hidden; 
}

.btn::before { 
    content: ''; 
    position: absolute; 
    inset: 0; 
    background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, transparent 100%); 
}

.btn:disabled { 
    opacity: 0.35; 
    cursor: not-allowed; 
}

.btn:not(:disabled):hover { 
    transform: translateY(-2px); 
}

.btn:not(:disabled):active { 
    transform: scale(0.98); 
}

.btn-kommen { 
    background: linear-gradient(135deg, var(--success) 0%, #28c84d 100%); 
    color: white; 
    box-shadow: 0 4px 20px rgba(48, 209, 88, 0.4); 
}

.btn-pause { 
    background: linear-gradient(135deg, var(--warning) 0%, #ffb340 100%); 
    color: white; 
    box-shadow: 0 4px 20px rgba(255, 159, 10, 0.4); 
}

.btn-gehen { 
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); 
    color: white; 
    box-shadow: 0 8px 32px var(--primary-glow); 
}

.btn-absence { 
    background: linear-gradient(135deg, #007aff 0%, #5ac8fa 100%); 
    color: white; 
    box-shadow: 0 4px 20px rgba(0, 122, 255, 0.4); 
}

.btn-icon { 
    font-size: 22px;
    display: flex;
    align-items: center;
}

.btn.loading { 
    opacity: 0.7; 
    pointer-events: none; 
}

.btn.loading .btn-icon { 
    animation: spin 1s linear infinite; 
}

@keyframes spin { 
    from { transform: rotate(0deg); } 
    to { transform: rotate(360deg); } 
}

/* ========== MODAL ========== */
.modal-overlay { 
    position: fixed; 
    inset: 0; 
    z-index: 1000; 
    background: rgba(0, 0, 0, 0.5); 
    backdrop-filter: blur(8px); 
    display: none; 
    align-items: center; 
    justify-content: center; 
    padding: 20px; 
    padding-bottom: 100px; 
    animation: modalFadeIn 0.3s ease-out; 
}

.modal-overlay.active { 
    display: flex; 
}

@keyframes modalFadeIn { 
    from { opacity: 0; } 
    to { opacity: 1; } 
}

.modal-content { 
    background: var(--bg-card); 
    backdrop-filter: blur(40px); 
    border-radius: var(--radius-xl); 
    width: 100%; 
    max-width: 400px; 
    padding: 24px; 
    border: 0.5px solid rgba(255, 255, 255, 0.5); 
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); 
    animation: modalSlideUp 0.3s ease-out; 
}

@keyframes modalSlideUp { 
    from { transform: translateY(100%); } 
    to { transform: translateY(0); } 
}

.modal-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 20px; 
}

.modal-title { 
    font-size: 20px; 
    font-weight: 600; 
}

.modal-close { 
    width: 32px; 
    height: 32px; 
    border-radius: 50%; 
    background: rgba(0, 0, 0, 0.06); 
    border: none; 
    font-size: 18px; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

/* ========== ABSENCE OPTIONS ========== */
.absence-options { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 12px; 
    margin-bottom: 20px; 
}

.absence-option { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    padding: 20px 16px; 
    border-radius: 16px; 
    background: rgba(0, 0, 0, 0.04); 
    border: 2px solid transparent; 
    cursor: pointer; 
    transition: all 0.2s ease; 
}

.absence-option:hover { 
    background: rgba(0, 0, 0, 0.08); 
}

.absence-option.selected { 
    border-color: var(--primary); 
    background: rgba(172, 24, 85, 0.08); 
}

.absence-icon { 
    font-size: 32px; 
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.absence-label { 
    font-size: 14px; 
    font-weight: 600; 
}

.absence-duration { 
    display: flex; 
    gap: 12px; 
    padding-top: 16px; 
    border-top: 0.5px solid var(--border-light); 
}

/* Absence Tabs */
.absence-tabs {
    display: flex;
    gap: 4px;
    padding: 4px;
    margin: 0 16px 16px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 12px;
}

.absence-tab {
    flex: 1;
    padding: 10px 16px;
    background: transparent;
    border: none;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 44px;
}

.absence-tab.active {
    background: white;
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.absence-tab-content {
    display: none;
}

.absence-tab-content.active {
    display: block;
}

.duration-option { 
    flex: 1; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 8px; 
    padding: 14px; 
    border-radius: 12px; 
    background: rgba(0, 0, 0, 0.04); 
    cursor: pointer; 
    transition: all 0.2s ease; 
}

.duration-option:has(input:checked) { 
    background: var(--primary); 
    color: white; 
}

.duration-option input { 
    display: none; 
}

.duration-label { 
    font-size: 14px; 
    font-weight: 500; 
}

/* ========== BOOKINGS ========== */
.bookings-section { 
    margin: 20px; 
    margin-bottom: 100px; 
    background: var(--bg-card); 
    backdrop-filter: blur(40px); 
    border-radius: var(--radius-xl); 
    box-shadow: var(--shadow-md); 
    border: 0.5px solid rgba(255, 255, 255, 0.5); 
    overflow: hidden; 
    animation: cardReveal 0.8s ease-out 0.4s backwards; 
}

.bookings-header { 
    padding: 20px 24px; 
    border-bottom: 0.5px solid var(--border-light); 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.bookings-title { 
    font-size: 17px; 
    font-weight: 600; 
}

.bookings-count { 
    font-size: 13px; 
    font-weight: 500; 
    color: var(--text-secondary); 
    background: rgba(0, 0, 0, 0.04); 
    padding: 6px 12px; 
    border-radius: 100px; 
}

.bookings-list { 
    max-height: 320px; 
    overflow-y: auto; 
}

.booking-item { 
    display: flex; 
    align-items: center; 
    padding: 16px 24px; 
    gap: 16px; 
    border-bottom: 0.5px solid var(--border-light); 
    animation: itemSlide 0.4s ease-out backwards; 
}

.booking-item:last-child { 
    border-bottom: none; 
}

@keyframes itemSlide { 
    from { opacity: 0; transform: translateX(-20px); } 
}

.booking-icon { 
    width: 44px; 
    height: 44px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 20px; 
    flex-shrink: 0; 
}

.booking-icon.kommen, 
.booking-icon.KOMMEN { 
    background: rgba(48, 209, 88, 0.12); 
    color: var(--success); 
}

.booking-icon.pause-start, 
.booking-icon.PAUSE_START { 
    background: rgba(255, 159, 10, 0.12); 
    color: var(--warning); 
}

.booking-icon.pause-ende, 
.booking-icon.PAUSE_ENDE { 
    background: rgba(0, 122, 255, 0.12); 
    color: var(--blue); 
}

.booking-icon.gehen, 
.booking-icon.GEHEN { 
    background: rgba(172, 24, 85, 0.12); 
    color: var(--primary); 
}

.booking-icon.urlaub { 
    background: rgba(90, 200, 250, 0.12); 
    color: #5ac8fa; 
}

.booking-icon.krank { 
    background: rgba(255, 69, 58, 0.12); 
    color: #ff453a; 
}

.booking-icon.gleittag { 
    background: rgba(175, 82, 222, 0.12); 
    color: #af52de; 
}

.booking-icon.fortbildung { 
    background: rgba(255, 159, 10, 0.12); 
    color: var(--warning); 
}

.booking-details { 
    flex: 1; 
}

.booking-type { 
    font-size: 15px; 
    font-weight: 600; 
}

.booking-meta { 
    font-size: 13px; 
    color: var(--text-secondary); 
    margin-top: 2px; 
}

.booking-time { 
    font-size: 20px; 
    font-weight: 600; 
    font-variant-numeric: tabular-nums; 
}

/* ========== EMPTY STATE ========== */
.empty-state { 
    padding: 60px 24px; 
    text-align: center; 
}

.empty-state-icon { 
    font-size: 56px; 
    margin-bottom: 16px; 
    opacity: 0.6;
    display: flex;
    justify-content: center;
}

.empty-state-title { 
    font-size: 17px; 
    font-weight: 600; 
    margin-bottom: 6px; 
}

.empty-state-text { 
    font-size: 14px; 
    color: var(--text-secondary); 
}

/* ========== FOOTER NAV ========== */
.footer-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(40px);
    border-top: 0.5px solid var(--border-light);
    padding: 4px 0;
    padding-bottom: max(4px, env(safe-area-inset-bottom));
    z-index: 100;
}

.footer-nav-inner { 
    max-width: 430px; 
    margin: 0 auto; 
    display: flex; 
    justify-content: space-around; 
}

.nav-item { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 4px; 
    padding: 8px 20px; 
    background: none; 
    border: none; 
    cursor: pointer; 
    transition: all 0.2s ease; 
    border-radius: 12px; 
    text-decoration: none; 
}

.nav-item:hover { 
    background: rgba(0, 0, 0, 0.04); 
}

.nav-item.active { 
    color: var(--primary); 
}

.nav-item svg { 
    width: 24px; 
    height: 24px; 
    color: var(--text-secondary); 
}

.nav-item.active svg { 
    color: var(--primary); 
}

.nav-label { 
    font-size: 10px; 
    font-weight: 500; 
    color: var(--text-secondary); 
}

.nav-item.active .nav-label { 
    color: var(--primary); 
}

/* ========== LANDSCAPE BLOCKER ========== */
.landscape-blocker { 
    display: none; 
    position: fixed; 
    inset: 0; 
    z-index: 9999; 
    background: linear-gradient(135deg, #1d1d1f 0%, #2c2c2e 100%); 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    padding: 40px; 
    color: white; 
}

.landscape-blocker-icon { 
    font-size: 64px; 
    margin-bottom: 24px; 
    animation: rotatePhone 2s ease-in-out infinite;
    display: flex;
    justify-content: center;
}

@keyframes rotatePhone { 
    0%, 100% { transform: rotate(0deg); } 
    25% { transform: rotate(-15deg); } 
    75% { transform: rotate(15deg); } 
}

.landscape-blocker-title { 
    font-size: 24px; 
    font-weight: 600; 
    margin-bottom: 12px; 
}

.landscape-blocker-text { 
    font-size: 16px; 
    color: rgba(255, 255, 255, 0.7); 
    max-width: 280px; 
}

@media (orientation: landscape) and (max-height: 500px) { 
    .landscape-blocker { display: flex; } 
    .app-container, .footer-nav { display: none; } 
}

/* ========== DARK MODE ========== */
html.theme-dark {
    --text-primary: #f5f5f7;
    --text-secondary: #a1a1a6;
    --bg-primary: #000000;
    --bg-card: rgba(28, 28, 30, 0.72);
    --border-light: rgba(255, 255, 255, 0.08);
}

html.theme-dark .header, html.theme-dark .footer-nav {
    background: rgba(0, 0, 0, 0.72);
}

html.theme-dark .app-title-light {
    background: rgba(255,255,255,0.1);
}

html.theme-dark .modal-close {
    background: rgba(255, 255, 255, 0.1);
}

html.theme-dark .absence-option, html.theme-dark .duration-option {
    background: rgba(255, 255, 255, 0.08);
}

html.theme-dark .absence-option:hover {
    background: rgba(255, 255, 255, 0.12);
}

html.theme-dark .status-stopwatch {
    background: rgba(255, 255, 255, 0.08);
}

html.theme-dark .nav-avatar {
    box-shadow: none;
}

html.theme-dark .nav-avatar.admin-ring {
    box-shadow: 0 0 0 2px #1c1c1e, 0 0 0 4px var(--primary);
}

html.theme-dark .nav-item.active .nav-avatar {
    box-shadow: 0 0 0 2px #1c1c1e, 0 0 0 4px var(--primary);
}

/* ========== SVG ICON STYLES ========== */
.btn-icon svg { 
    display: inline-block; 
    vertical-align: middle; 
    stroke: currentColor; 
}

.absence-icon svg, 
.booking-icon svg { 
    display: block; 
    stroke: currentColor; 
}

.empty-state-icon svg, 
.stopwatch-icon svg, 
.modal-close svg { 
    display: block; 
    stroke: currentColor; 
}

.landscape-blocker-icon svg { 
    display: block; 
}

/* ========================================================================
   TEAM PAGE (team.html) - Chef/Admin Dashboard
   ======================================================================== */

/* Header - Team */
.header-title { font-size: 20px; font-weight: 600; letter-spacing: -0.4px; }
.header-subtitle { font-size: 13px; color: var(--text-secondary); margin-top: 2px; }
.header-badge {
    background: var(--primary);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
}

/* Stats Grid - Team */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px 20px;
}
.stat-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 16px;
    text-align: center;
}
.stat-icon { font-size: 24px; margin-bottom: 8px; }
.stat-icon svg { width: 24px; height: 24px; stroke: currentColor; margin: 0 auto; }
.stat-value { font-size: 32px; font-weight: 600; color: var(--primary); }
.stat-value.primary { color: var(--primary); }
.stat-value.success { color: var(--success); }
.stat-value.warning { color: var(--warning); }
.stat-label { font-size: 12px; color: var(--text-secondary); margin-top: 4px; }

/* Employee Section - Team */
.employee-section {
    padding: 0 20px;
    margin-bottom: 20px;
}
.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.section-title { font-size: 17px; font-weight: 600; }
.section-link { font-size: 14px; color: var(--primary); cursor: pointer; }
.employee-list {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    overflow: hidden;
}
.employee-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    gap: 12px;
    border-bottom: 0.5px solid var(--border-light);
    cursor: pointer;
    transition: background 0.2s;
    min-height: 52px;
}
.employee-item:last-child { border-bottom: none; }
.employee-item:hover { background: rgba(0,0,0,0.02); }
.employee-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: white;
    flex-shrink: 0;
}
.employee-info { flex: 1; min-width: 0; }
.employee-name { font-size: 16px; font-weight: 500; }
.employee-status { font-size: 13px; color: var(--text-secondary); display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.employee-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
}
.employee-status.paused::before { background: var(--warning); }
.employee-status.offline::before { background: var(--text-secondary); }
.employee-time { text-align: right; }
.employee-time-value { font-size: 17px; font-weight: 600; }
.employee-time-label { font-size: 11px; color: var(--text-secondary); }

/* Approvals Section - Team */
.approval-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
}
.approval-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.approval-employee { display: flex; align-items: center; gap: 10px; }
.approval-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 12px;
    color: white;
}
.approval-name { font-size: 15px; font-weight: 500; }
.approval-badge {
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 100px;
}
.approval-badge svg { width: 14px; height: 14px; vertical-align: middle; margin-right: 4px; }
.approval-badge.urlaub { background: rgba(0, 122, 255, 0.12); color: var(--blue); }
.approval-badge.krank { background: rgba(255, 69, 58, 0.12); color: #ff453a; }
.approval-badge.gleittag { background: rgba(48, 209, 88, 0.12); color: var(--success); }
.approval-dates {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}
.approval-dates svg { width: 14px; height: 14px; vertical-align: middle; margin-right: 4px; }
.approval-actions { display: flex; gap: 8px; }
.approval-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    min-height: 44px;
}
.approval-btn.approve { background: var(--success); color: white; }
.approval-btn.decline { background: rgba(255, 69, 58, 0.12); color: #ff453a; }
.approval-btn:hover { transform: scale(1.02); }

/* ========================================================================
   UEBERSICHT PAGE (uebersicht.html) - Statistiken
   Hinweis: Die meisten Uebersicht-Styles sind inline in uebersicht.html
   definiert. Hier nur gemeinsam genutzte/globale Regeln.
   ======================================================================== */

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Summary Grid - used by pages that link styles.css */
.summary-card {
    background: var(--bg-card);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 20px;
    padding: 20px;
}
.summary-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-secondary); margin-bottom: 8px; }
.summary-value { font-size: 32px; font-weight: 600; letter-spacing: -1px; }
.summary-value.primary { color: var(--primary); }
.summary-detail { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }

/* Saldo Indicator */
.saldo-indicator { display: flex; align-items: center; gap: 8px; }
.saldo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--success);
}
.saldo-dot.warning { background: var(--warning); }
.saldo-dot.danger { background: #ff453a; }
.saldo-value { font-size: 28px; font-weight: 600; }
.saldo-value.positive { color: var(--success); }
.saldo-value.negative { color: #ff453a; }
.saldo-label { font-size: 12px; color: var(--text-secondary); }

/* Vacation Card */
.vacation-card {
    margin: 0 20px 20px;
    background: var(--bg-card);
    backdrop-filter: blur(40px);
    border-radius: 20px;
    padding: 20px;
    animation: fadeIn 0.6s ease-out 0.2s backwards;
}
.vacation-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.vacation-icon { font-size: 28px; }
.vacation-icon svg { width: 28px; height: 28px; stroke: currentColor; }
.vacation-title { font-size: 16px; font-weight: 600; }
.vacation-stats { display: flex; justify-content: space-between; margin-bottom: 12px; }
.vacation-stat { text-align: center; }
.vacation-stat-value { font-size: 24px; font-weight: 600; }
.vacation-stat-value.available { color: var(--success); }
.vacation-stat-value.taken { color: var(--primary); }
.vacation-stat-value.planned { color: var(--blue); }
.vacation-stat-label { font-size: 11px; color: var(--text-secondary); text-transform: uppercase; }
.vacation-bar {
    height: 8px;
    background: #e8e8ed;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
}
.vacation-bar-taken { background: var(--primary); }
.vacation-bar-planned { background: var(--blue); }
.vacation-bar-labels { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11px; color: var(--text-secondary); }

/* Chart Card */
.chart-card {
    margin: 0 20px 20px;
    background: var(--bg-card);
    backdrop-filter: blur(40px);
    border-radius: 20px;
    padding: 20px;
    animation: fadeIn 0.6s ease-out 0.3s backwards;
}
.chart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.chart-title { font-size: 16px; font-weight: 600; }
.chart-legend { display: flex; gap: 16px; }
.legend-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-secondary); }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; }
.legend-dot.soll { background: #e8e8ed; }
.legend-dot.ist { background: var(--primary); }
.bar-chart { display: flex; justify-content: space-between; align-items: flex-end; height: 120px; gap: 8px; }
.bar-group { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.bar-container { width: 100%; height: 100px; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; position: relative; }
.bar {
    width: 100%;
    border-radius: 4px;
    transition: height 0.5s ease;
    position: absolute;
    bottom: 0;
}
.bar.soll { background: #e8e8ed; z-index: 1; }
.bar.ist { background: var(--primary); z-index: 2; width: 60%; left: 20%; }
.bar-label { font-size: 11px; color: var(--text-secondary); margin-top: 4px; }
.bar-value { font-size: 10px; color: var(--text-secondary); }

/* Donut Chart + Daily List: Styles sind inline in uebersicht.html definiert */

/* ========================================================================
   PROFIL PAGE (profil.html) - Benutzerprofil
   ======================================================================== */

/* Profile Header */
.profile-header {
    padding: 24px 20px;
    text-align: center;
}
.profile-avatar-container { position: relative; display: inline-block; margin-bottom: 16px; }
.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 600;
    color: white;
    box-shadow: 0 8px 32px var(--primary-glow);
}
.profile-avatar-edit {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 32px;
    height: 32px;
    background: var(--bg-card-solid, #ffffff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: transform 0.2s;
}
.profile-avatar-edit svg { width: 16px; height: 16px; stroke: var(--text-secondary); }
.profile-avatar-edit:hover { transform: scale(1.1); }
.profile-name { font-size: 24px; font-weight: 600; margin-bottom: 4px; }
.profile-email { font-size: 14px; color: var(--text-secondary); margin-bottom: 12px; }
.profile-badges { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.profile-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(0,0,0,0.04);
    border-radius: 100px;
    font-size: 13px;
    color: var(--text-secondary);
}
.profile-badge-icon { font-size: 14px; }
.profile-badge-icon svg { width: 14px; height: 14px; stroke: currentColor; vertical-align: middle; }

/* Settings Section */
.settings-section {
    padding: 0 20px;
    margin-bottom: 24px;
}
.section-header {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 4px;
    margin-bottom: 8px;
}
.settings-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    overflow: hidden;
}
.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 0.5px solid var(--border-light);
    cursor: pointer;
    transition: background 0.2s;
    min-height: 48px;
}
.settings-item:last-child { border-bottom: none; }
.settings-item:hover { background: rgba(0,0,0,0.02); }
.info-label { font-size: 15px; color: var(--text-primary); }
.info-value {
    font-size: 15px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
}
.info-arrow { color: var(--text-secondary); opacity: 0.5; }

/* Toggle Switch */
.toggle-container { display: flex; align-items: center; gap: 12px; }
.toggle-switch {
    width: 51px;
    height: 31px;
    background: #e9e9eb;
    border-radius: 15.5px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s;
}
.toggle-switch::after {
    content: '';
    position: absolute;
    width: 27px;
    height: 27px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}
.toggle-switch.active { background: var(--success); }
.toggle-switch.active::after { transform: translateX(20px); }

/* Select Dropdown */
.info-select {
    font-family: inherit;
    font-size: 15px;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    text-align: right;
    cursor: pointer;
    padding-right: 4px;
}
.info-select:focus { outline: none; }

/* Logout Button */
.logout-section { padding: 0 20px 40px; }
.logout-btn {
    width: 100%;
    padding: 16px;
    background: rgba(255, 69, 58, 0.1);
    border: none;
    border-radius: 14px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    color: #ff453a;
    cursor: pointer;
    transition: all 0.2s;
}
.logout-btn:hover { background: rgba(255, 69, 58, 0.15); transform: scale(1.01); }

/* ========================================================================
   LOGIN PAGE (login.html) - Anmeldung
   ======================================================================== */

/* Auth Container */
.auth-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 24px;
    max-width: 400px;
    margin: 0 auto;
}

/* Logo Section */
.logo-section {
    text-align: center;
    margin-bottom: 40px;
}
.auth-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px var(--primary-glow);
}
.auth-logo svg { width: 100%; height: 100%; }
.auth-branding { display: flex; align-items: baseline; justify-content: center; gap: 6px; }

/* Auth Card */
.auth-card {
    background: var(--bg-card);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 24px;
    padding: 32px 24px;
    box-shadow: var(--shadow-md);
}
.auth-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 24px;
}

/* Form Elements */
.form-group { margin-bottom: 20px; }
.form-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    cursor: pointer;
}
.form-link {
    font-size: 13px;
    color: var(--primary);
    text-decoration: none;
    cursor: pointer;
}
.form-link:hover { text-decoration: underline; }
.form-input {
    width: 100%;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 16px;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    background: var(--bg-card-solid, #ffffff);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}
.form-input.error { border-color: #ff453a; }
.form-input::placeholder { color: var(--text-secondary); }
.form-error {
    font-size: 13px;
    color: #ff453a;
    margin-top: 6px;
    display: none;
}
.form-error.visible { display: block; }

/* Checkbox */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 24px;
}
.checkbox-input {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border: 2px solid var(--border-light);
    border-radius: 6px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    transition: all 0.2s ease;
    margin-top: 0;
}
.checkbox-input:checked {
    background: var(--primary);
    border-color: var(--primary);
}
.checkbox-input:checked::after {
    content: '\2713';
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: 700;
    width: 100%;
    height: 100%;
}
html.theme-dark .checkbox-input {
    border-color: rgba(255, 255, 255, 0.3);
}
.checkbox-label {
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1.4;
}
.checkbox-label a {
    color: var(--primary);
    text-decoration: none;
}
.checkbox-label a:hover {
    text-decoration: underline;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    border: none;
    border-radius: 14px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 16px var(--primary-glow);
}
.submit-btn:hover { background: var(--primary-light); transform: translateY(-1px); box-shadow: 0 6px 20px var(--primary-glow); }
.submit-btn:active { transform: translateY(0); }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.submit-btn.loading { position: relative; color: transparent; }
.submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}
.divider-line { flex: 1; height: 1px; background: var(--border-light); }
.divider-text { font-size: 13px; color: var(--text-secondary); }

/* Demo Button */
.demo-btn {
    width: 100%;
    padding: 14px;
    background: transparent;
    border: 2px solid var(--border-light);
    border-radius: 14px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.demo-btn svg { width: 18px; height: 18px; stroke: currentColor; }
.demo-btn:hover { background: rgba(0,0,0,0.02); border-color: var(--primary); color: var(--primary); }

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-secondary);
}
.auth-footer a { color: var(--primary); text-decoration: none; font-weight: 500; }
.auth-footer a:hover { text-decoration: underline; }

/* ========================================================================
   MODAL & OVERLAY COMPONENTS
   ======================================================================== */

/* Base Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: flex-end;
    padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal-content {
    background: var(--bg-card-solid, #ffffff);
    border-radius: 24px 24px 0 0;
    width: 100%;
    max-width: 430px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideUp 0.3s ease-out;
}
@keyframes modalSlideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 16px;
    border-bottom: 0.5px solid var(--border-light);
}
.modal-title { font-size: 18px; font-weight: 600; }
.modal-close {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}
.modal-close svg { width: 20px; height: 20px; stroke: var(--text-secondary); }
.modal-close:hover { background: rgba(0,0,0,0.1); }
.modal-body { padding: 20px; }

/* Invite Modal Specific */
.invite-form { display: flex; flex-direction: column; gap: 16px; }
.input-group { display: flex; flex-direction: column; gap: 6px; }
.input-label { font-size: 14px; font-weight: 500; color: var(--text-secondary); }
.input-field {
    padding: 14px 16px;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.2s;
}
.input-field:focus { outline: none; border-color: var(--primary); }
.btn-primary {
    padding: 16px;
    background: var(--primary);
    border: none;
    border-radius: 14px;
    color: white;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-primary:hover { background: var(--primary-light); }

/* ========================================================================
   DARK MODE
   ======================================================================== */

html.theme-dark {
    --text-primary: #f5f5f7;
    --text-secondary: #a1a1a6;
    --bg-primary: #000000;
    --bg-card: rgba(28, 28, 30, 0.72);
    --bg-card-solid: #1c1c1e;
    --border-light: rgba(255, 255, 255, 0.08);
}

html.theme-dark body { background: var(--bg-primary); }

html.theme-dark .header, html.theme-dark .footer-nav {
    background: rgba(0, 0, 0, 0.72);
}

html.theme-dark .bg-gradient {
    background:
        radial-gradient(ellipse at 20% 20%, rgba(172, 24, 85, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(0, 122, 255, 0.1) 0%, transparent 50%);
}

html.theme-dark .form-input,
html.theme-dark .input-field {
    background: var(--bg-card-solid);
    color: var(--text-primary);
}

html.theme-dark .modal-content {
    background: var(--bg-card-solid);
}

html.theme-dark .modal-close {
    background: rgba(255, 255, 255, 0.1);
}

html.theme-dark .settings-item:hover,
html.theme-dark .employee-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

html.theme-dark .period-btn:not(.active):hover {
    background: var(--bg-card-solid);
}

html.theme-dark .nav-arrow:hover {
    background: var(--bg-card-solid);
}

html.theme-dark .daily-item {
    background: rgba(255, 255, 255, 0.04);
}

html.theme-dark .profile-badge {
    background: rgba(255, 255, 255, 0.08);
}

html.theme-dark .demo-btn:hover {
    background: rgba(255, 255, 255, 0.04);
}

html.theme-dark .donut-stats {
    background: rgba(255, 255, 255, 0.06);
}

html.theme-dark .donut-stat {
    background: rgba(255, 255, 255, 0.08);
}

html.theme-dark .donut-bg {
    stroke: #3a3a3c;
}

/* ========================================================================
   MANUAL THEME OVERRIDE (via localStorage)
   ======================================================================== */

/* Force Light Mode */
html.theme-light {
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --bg-primary: #f5f5f7;
    --bg-card: rgba(255, 255, 255, 0.72);
    --bg-card-solid: #ffffff;
    --border-light: rgba(0, 0, 0, 0.06);
}

html.theme-light body { background: var(--bg-primary); }
html.theme-light .header,
html.theme-light .footer-nav { background: rgba(255, 255, 255, 0.72); }
html.theme-light .bg-gradient {
    background:
        radial-gradient(ellipse at 20% 20%, rgba(172, 24, 85, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(0, 122, 255, 0.06) 0%, transparent 50%);
}
html.theme-light .form-input,
html.theme-light .input-field {
    background: var(--bg-card-solid);
    color: var(--text-primary);
}
html.theme-light .modal-content { background: var(--bg-card-solid); }
html.theme-light .settings-card { background: rgba(255, 255, 255, 0.9); }

/* Force Dark Mode */
html.theme-dark {
    --text-primary: #f5f5f7;
    --text-secondary: #a1a1a6;
    --bg-primary: #000000;
    --bg-card: rgba(28, 28, 30, 0.72);
    --bg-card-solid: #1c1c1e;
    --border-light: rgba(255, 255, 255, 0.08);
}

html.theme-dark body { background: var(--bg-primary); }
html.theme-dark .header,
html.theme-dark .footer-nav { background: rgba(0, 0, 0, 0.72); }
html.theme-dark .bg-gradient {
    background:
        radial-gradient(ellipse at 20% 20%, rgba(172, 24, 85, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(0, 122, 255, 0.1) 0%, transparent 50%);
}
html.theme-dark .form-input,
html.theme-dark .input-field {
    background: var(--bg-card-solid);
    color: var(--text-primary);
}
html.theme-dark .modal-content { background: var(--bg-card-solid); }
html.theme-dark .modal-close { background: rgba(255, 255, 255, 0.1); }
html.theme-dark .settings-item:hover,
html.theme-dark .employee-item:hover { background: rgba(255, 255, 255, 0.04); }
html.theme-dark .profile-badge { background: rgba(255, 255, 255, 0.08); }
html.theme-dark .daily-item { background: rgba(255, 255, 255, 0.04); }
html.theme-dark .donut-stats { background: rgba(255, 255, 255, 0.06); }
html.theme-dark .donut-stat { background: rgba(255, 255, 255, 0.08); }
html.theme-dark .donut-bg { stroke: #3a3a3c; }
html.theme-dark .settings-card { background: rgba(28, 28, 30, 0.9); }

/* ========================================================================
   LANDSCAPE BLOCKER (Mobile Portrait Only)
   ======================================================================== */

.landscape-blocker {
    display: none;
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    z-index: 10000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
    text-align: center;
    padding: 40px;
}

.landscape-blocker-icon {
    margin-bottom: 24px;
}

.landscape-blocker-icon svg {
    width: 64px;
    height: 64px;
    stroke: white;
}

.landscape-blocker-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.landscape-blocker-text {
    font-size: 14px;
    opacity: 0.8;
}

@media (orientation: landscape) and (max-height: 500px) {
    .landscape-blocker { display: flex; }
    .app-container, .footer-nav, .auth-container { display: none; }
}

/* ========================================================================
   FOOTER NAVIGATION (Shared)
   ======================================================================== */

.footer-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(245, 245, 247, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 0.5px solid var(--border-light);
    padding: 4px 0 calc(4px + env(safe-area-inset-bottom));
    z-index: 100;
}

.footer-nav-inner {
    max-width: 430px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 16px;
    border-radius: 12px;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
    min-height: 44px;
    justify-content: center;
    position: relative;
}

.nav-item:hover {
    background: rgba(0, 0, 0, 0.04);
}

.nav-item.active {
    color: var(--primary);
}

.nav-item svg {
    width: 24px;
    height: 24px;
    color: var(--text-secondary);
}

.nav-item.active svg {
    color: var(--primary);
}

.nav-label {
    font-size: 10px;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-item.active .nav-label {
    color: var(--primary);
}

/* Navigation Layout (nav.js v1.5.0) */
#mainNav {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.nav-row {
    display: flex;
    justify-content: space-around;
    width: 100%;
    padding: 4px 0;
}
.nav-row-admin {
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
html.theme-dark .nav-row-admin {
    border-bottom-color: rgba(255,255,255,0.08);
}

/* Nav item overrides for nav.js generated navigation */
#mainNav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 4px 16px;
    cursor: pointer;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}
#mainNav .nav-item svg {
    width: 24px;
    height: 24px;
    color: var(--text-secondary, #86868b);
}
#mainNav .nav-item.active svg {
    color: var(--primary, #AC1855);
}
#mainNav .nav-label {
    font-size: 10px;
    color: var(--text-secondary, #86868b);
}
#mainNav .nav-item.active .nav-label {
    color: var(--primary, #AC1855);
}

/* Header Avatar (Profil) */
.header-avatar {
    text-decoration: none;
    display: flex;
    align-items: center;
}
.header-avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -0.5px;
    transition: all 0.2s ease;
}
.header-avatar-circle.admin {
    background: linear-gradient(135deg, var(--primary, #AC1855), var(--primary-light, #d4006a));
}
.header-avatar-circle.active {
    box-shadow: 0 0 0 2px white, 0 0 0 4px var(--primary, #AC1855);
}
html.theme-dark .header-avatar-circle {
    background: linear-gradient(135deg, #48484a, #3a3a3c);
}
html.theme-dark .header-avatar-circle.admin {
    background: linear-gradient(135deg, var(--primary, #AC1855), var(--primary-light, #d4006a));
}
html.theme-dark .header-avatar-circle.active {
    box-shadow: 0 0 0 2px #1c1c1e, 0 0 0 4px var(--primary, #AC1855);
}

/* Avatar Status Dot (Online/Offline) */
.header-avatar-circle {
    position: relative;
}
.avatar-status-dot {
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #f5f5f7;
    background: #aeaeb2;
    transition: background 0.3s ease;
}
.avatar-status-dot.online {
    background: #30d158;
}
.avatar-status-dot.offline {
    background: #ff3b30;
}
html.theme-dark .avatar-status-dot {
    border-color: #000;
}
html.theme-dark .avatar-status-dot.online {
    background: #30d158;
}
html.theme-dark .avatar-status-dot.offline {
    background: #ff453a;
}

/* Navigation Avatar (Profil-Kürzel) - Legacy */
.nav-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -0.5px;
}

.nav-avatar.admin-ring,
.nav-avatar.admin {
    background: linear-gradient(135deg, var(--primary), var(--primary-light, #d4006a));
    color: white;
    box-shadow: 0 0 0 2px white, 0 0 0 4px var(--primary);
}

.nav-item.active .nav-avatar {
    box-shadow: 0 0 0 2px white, 0 0 0 4px var(--primary);
}

.nav-item.active .nav-avatar.admin-ring {
    box-shadow: 0 0 0 2px white, 0 0 0 4px var(--primary), 0 2px 8px var(--primary-glow);
}

.nav-badge {
    position: absolute;
    top: 2px;
    right: 8px;
    background: var(--primary);
    color: white;
    font-size: 10px;
    font-weight: 600;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* ========================================================================
   LANDSCAPE DESK CLOCK (landscape-clock.js v1.1.0)
   ======================================================================== */

.landscape-clock {
    display: none; position: fixed; inset: 0; z-index: 9999;
    background: linear-gradient(135deg, #06060a 0%, #0f0f1e 30%, #141428 60%, #0d1b2a 100%);
    flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 20px; gap: 0;
    font-family: 'Inter', -apple-system, sans-serif;
    overflow: hidden;
}

/* Ambient glow orbs */
.landscape-clock::before,
.landscape-clock::after {
    content: ''; position: absolute; border-radius: 50%;
    filter: blur(80px); opacity: 0.15; pointer-events: none;
    animation: lcOrb 8s ease-in-out infinite alternate;
}
.landscape-clock::before {
    width: 300px; height: 300px; top: -80px; right: -60px;
    background: radial-gradient(circle, var(--primary, #AC1855), transparent 70%);
}
.landscape-clock::after {
    width: 250px; height: 250px; bottom: -60px; left: -40px;
    background: radial-gradient(circle, #007aff, transparent 70%);
    animation-delay: -4s;
}
@keyframes lcOrb {
    0% { transform: translate(0, 0) scale(1); opacity: 0.12; }
    100% { transform: translate(30px, -20px) scale(1.2); opacity: 0.2; }
}

/* Logo */
.lc-logo {
    width: 56px; height: 56px; margin-bottom: 12px; position: relative; z-index: 1;
}
.lc-logo img {
    width: 100%; height: 100%;
    filter: drop-shadow(0 0 20px rgba(172, 24, 85, 0.4));
    animation: lcLogoPulse 4s ease-in-out infinite;
}
@keyframes lcLogoPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 20px rgba(172, 24, 85, 0.3)); }
    50% { transform: scale(1.06); filter: drop-shadow(0 0 30px rgba(172, 24, 85, 0.6)); }
}

/* Time */
.lc-time-container { position: relative; z-index: 1; }
.lc-time {
    font-size: 96px; font-weight: 100; color: #ffffff;
    letter-spacing: -3px; line-height: 1;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 60px rgba(172, 24, 85, 0.25), 0 0 120px rgba(172, 24, 85, 0.1);
}
.lc-time .lc-colon {
    animation: lcBlink 2s step-end infinite; opacity: 1;
}
@keyframes lcBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
.lc-seconds {
    font-size: 28px; font-weight: 300; color: rgba(255, 255, 255, 0.3);
    vertical-align: super; margin-left: 4px;
    font-variant-numeric: tabular-nums;
}

/* Date */
.lc-date {
    font-size: 16px; font-weight: 300; color: rgba(255, 255, 255, 0.4);
    margin-top: 6px; letter-spacing: 1px; text-transform: uppercase;
    position: relative; z-index: 1;
}

/* Divider line */
.lc-divider {
    width: 60px; height: 1px; margin: 16px auto;
    background: linear-gradient(90deg, transparent, rgba(172, 24, 85, 0.5), transparent);
    position: relative; z-index: 1;
}

/* Status */
.lc-status { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.lc-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 24px; border-radius: 100px;
    font-size: 14px; font-weight: 500; letter-spacing: 0.5px;
    border: 1px solid transparent;
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.lc-badge.working {
    background: rgba(48, 209, 88, 0.1); color: #30d158;
    border-color: rgba(48, 209, 88, 0.2);
    box-shadow: 0 0 20px rgba(48, 209, 88, 0.1);
}
.lc-badge.paused {
    background: rgba(255, 159, 10, 0.1); color: #ff9f0a;
    border-color: rgba(255, 159, 10, 0.2);
}
.lc-badge.idle {
    background: rgba(255, 255, 255, 0.04); color: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.08);
}
.lc-badge.finished {
    background: rgba(172, 24, 85, 0.1); color: #e83e8c;
    border-color: rgba(172, 24, 85, 0.2);
}
.lc-badge::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: currentColor;
}
.lc-badge.working::before, .lc-badge.paused::before {
    animation: lcPulse 2s ease-in-out infinite;
}
@keyframes lcPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 currentColor; }
    50% { opacity: 0.4; box-shadow: 0 0 6px 2px currentColor; }
}
.lc-hours {
    font-size: 12px; color: rgba(255, 255, 255, 0.25); font-weight: 300;
    letter-spacing: 0.5px;
}

/* Watermark */
.lc-watermark {
    position: absolute; bottom: 12px; right: 16px;
    font-size: 10px; color: rgba(255, 255, 255, 0.1); font-weight: 300;
    letter-spacing: 1px; z-index: 1;
}

/* Show in landscape */
@media (orientation: landscape) and (max-height: 500px) {
    html, body { overflow: hidden !important; height: 100vh !important; }
    .landscape-clock { display: flex; }
    .app-container, .footer-nav, .modal-overlay, .modal-backdrop,
    .landscape-blocker, .bg-gradient { display: none !important; }
}
/* Small landscape */
@media (orientation: landscape) and (max-height: 380px) {
    .lc-time { font-size: 72px; }
    .lc-seconds { font-size: 20px; }
    .lc-logo { width: 40px; height: 40px; margin-bottom: 8px; }
    .lc-divider { margin: 10px auto; }
}

/* ========================================================================
   ANNOUNCEMENTS (announcements.js v1.0.0)
   ======================================================================== */

/* Container - vertically centered */
.avero-ann-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 32px);
    max-width: 400px;
    z-index: 500;
    pointer-events: none;
}

/* Card */
.avero-ann {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 20px;
    padding: 20px;
    border: 0.5px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    will-change: transform, opacity;
    touch-action: pan-y;
}
.avero-ann.visible {
    transform: translateY(0);
    opacity: 1;
}
.avero-ann.dismissing {
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.55, 0, 1, 0.45), opacity 0.25s ease;
}

/* Header row */
.avero-ann-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

/* Type icon badge */
.avero-ann-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.avero-ann-icon svg {
    width: 20px;
    height: 20px;
}

/* Title */
.avero-ann-title {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary, #1d1d1f);
    line-height: 1.3;
}

/* Close button */
.avero-ann-close {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.06);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary, #86868b);
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}
.avero-ann-close:active {
    background: rgba(0, 0, 0, 0.12);
}
.avero-ann-close svg {
    width: 16px;
    height: 16px;
}

/* Message body */
.avero-ann-message {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-secondary, #86868b);
    margin-bottom: 16px;
}

/* Footer */
.avero-ann-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Progress text */
.avero-ann-progress {
    font-size: 12px;
    color: var(--text-secondary, #86868b);
    font-weight: 400;
}

/* OK button */
.avero-ann-btn {
    background: var(--primary, #AC1855);
    color: #fff;
    border: none;
    padding: 8px 28px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: opacity 0.15s;
}
.avero-ann-btn:active {
    opacity: 0.8;
}

/* Swipe handle */
.avero-ann-handle {
    width: 36px;
    height: 4px;
    background: rgba(0, 0, 0, 0.12);
    border-radius: 2px;
    margin: 0 auto 12px;
}

/* Dark mode */
html.theme-dark .avero-ann {
    background: rgba(44, 44, 46, 0.85);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
html.theme-dark .avero-ann-title {
    color: #f5f5f7;
}
html.theme-dark .avero-ann-message {
    color: #98989d;
}
html.theme-dark .avero-ann-close {
    background: rgba(255, 255, 255, 0.1);
    color: #98989d;
}
html.theme-dark .avero-ann-close:active {
    background: rgba(255, 255, 255, 0.18);
}
html.theme-dark .avero-ann-handle {
    background: rgba(255, 255, 255, 0.15);
}
html.theme-dark .avero-ann-progress {
    color: #98989d;
}

/* Hide in landscape */
@media (orientation: landscape) and (max-height: 500px) {
    .avero-ann-container { display: none !important; }
}

/* ========================================================================
   DASHBOARD HELP & TOUR (dashboard-help.js)
   ======================================================================== */

/* Tooltip */
.avero-help-tooltip {
    position: fixed; z-index: 1500; max-width: 280px; padding: 14px 18px;
    background: rgba(255,255,255,0.94); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px);
    border-radius: 16px; border: 0.5px solid rgba(255,255,255,0.6);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15), 0 2px 8px rgba(0,0,0,0.06);
    opacity: 0; transform: scale(0.92) translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease; pointer-events: none;
}
.avero-help-tooltip.visible { opacity: 1; transform: scale(1) translateY(0); pointer-events: auto; }
.avero-help-tooltip-title { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.avero-help-tooltip-text { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.avero-help-tooltip-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

/* FAB (Floating Action Button) */
.avero-help-fab {
    position: fixed; bottom: 100px; left: 20px; width: 44px; height: 44px; border-radius: 50%;
    background: var(--bg-card-solid); border: 0.5px solid var(--border-light);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1); display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 99; transition: transform 0.2s ease;
    -webkit-tap-highlight-color: transparent; padding: 0;
}
.avero-help-fab:active { transform: scale(0.9); }
.avero-help-fab svg { width: 22px; height: 22px; color: var(--text-secondary); }

/* Bottom Sheet overlay */
.avero-help-sheet-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    z-index: 2000; display: none; align-items: flex-end; justify-content: center;
}
.avero-help-sheet-overlay.active { display: flex; }

/* Bottom Sheet */
.avero-help-sheet {
    background: var(--bg-card-solid); border-radius: 24px 24px 0 0;
    width: 100%; max-width: 430px; max-height: 85vh; overflow-y: auto;
    animation: averoSheetUp 0.3s ease-out; padding-bottom: max(20px, env(safe-area-inset-bottom));
}
@keyframes averoSheetUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.avero-help-sheet-handle { width: 36px; height: 4px; background: rgba(0,0,0,0.12); border-radius: 2px; margin: 12px auto 0; }
.avero-help-sheet-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 0.5px solid var(--border-light); }
.avero-help-sheet-title { font-size: 18px; font-weight: 600; }
.avero-help-sheet-close { width: 32px; height: 32px; border: none; border-radius: 50%; background: rgba(0,0,0,0.06); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.avero-help-sheet-close svg { width: 18px; height: 18px; color: var(--text-secondary); }

/* Sheet sections */
.avero-help-section { padding: 20px; border-bottom: 0.5px solid var(--border-light); }
.avero-help-section:last-child { border-bottom: none; }
.avero-help-section-title { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-secondary); margin-bottom: 12px; }
.avero-help-status-row { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; }
.avero-help-status-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; margin-top: 3px; }
.avero-help-status-info { flex: 1; }
.avero-help-status-label { font-size: 15px; font-weight: 500; color: var(--text-primary); }
.avero-help-status-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.4; margin-top: 2px; }

/* Info cards */
.avero-help-info-card { background: rgba(0,0,0,0.03); border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; }
.avero-help-info-card:last-child { margin-bottom: 0; }
.avero-help-info-card-title { font-size: 14px; font-weight: 600; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.avero-help-info-card-text { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

/* Tour restart button in sheet */
.avero-help-tour-btn { background: var(--primary); color: white; border: none; padding: 10px 20px; border-radius: 100px; font-size: 13px; font-weight: 600; font-family: inherit; cursor: pointer; margin-top: 10px; }
.avero-help-tour-btn:active { opacity: 0.8; }

/* Tour overlay */
.avero-tour-overlay { position: fixed; inset: 0; z-index: 3000; }
.avero-tour-overlay svg { width: 100%; height: 100%; position: absolute; inset: 0; }

/* Tour bubble */
.avero-tour-bubble {
    position: fixed; z-index: 3001; max-width: 320px; width: calc(100% - 48px); padding: 20px;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px);
    border-radius: 20px; border: 0.5px solid rgba(255,255,255,0.6);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
    animation: averoBubbleIn 0.35s cubic-bezier(0.16,1,0.3,1);
}
@keyframes averoBubbleIn { from { opacity: 0; transform: scale(0.9) translateY(12px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.avero-tour-step-indicator { font-size: 11px; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.avero-tour-title { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.avero-tour-text { font-size: 14px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 16px; }
.avero-tour-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.avero-tour-skip { background: none; border: none; font-size: 14px; color: var(--text-secondary); cursor: pointer; padding: 8px 0; font-family: inherit; }
.avero-tour-next { background: var(--primary); color: white; border: none; padding: 10px 24px; border-radius: 100px; font-size: 14px; font-weight: 600; font-family: inherit; cursor: pointer; }
.avero-tour-next:active { opacity: 0.8; }
.avero-tour-dots { display: flex; gap: 6px; justify-content: center; }
.avero-tour-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(0,0,0,0.15); transition: all 0.3s ease; }
.avero-tour-dot.active { width: 18px; border-radius: 3px; background: var(--primary); }

/* Dark mode */
html.theme-dark .avero-help-tooltip { background: rgba(44,44,46,0.94); border-color: rgba(255,255,255,0.1); }
html.theme-dark .avero-help-fab { background: #2c2c2e; border-color: rgba(255,255,255,0.1); }
html.theme-dark .avero-help-sheet { background: #1c1c1e; }
html.theme-dark .avero-help-sheet-handle { background: rgba(255,255,255,0.2); }
html.theme-dark .avero-help-sheet-close { background: rgba(255,255,255,0.1); }
html.theme-dark .avero-help-info-card { background: rgba(255,255,255,0.06); }
html.theme-dark .avero-tour-bubble { background: rgba(44,44,46,0.95); border-color: rgba(255,255,255,0.1); }
html.theme-dark .avero-tour-dot { background: rgba(255,255,255,0.2); }

/* ========================================================================
   UTILITY CLASSES
   ======================================================================== */

.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-secondary { color: var(--text-secondary); }

.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }

.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }

.hidden { display: none !important; }
.visible { display: block; }
