/* ========================================
   ROOT VARIABLES - Zentrale Farbverwaltung
   ======================================== */
:root {
    /* Primary Colors */
    --primary-gradient-start: #6366f1;
    --primary-gradient-end: #4f46e5;
    --primary-gradient: linear-gradient(135deg, var(--primary-gradient-start) 0%, var(--primary-gradient-end) 100%);

    
    /* Background Colors */
    --bg-body-start: #0f0f0f;
    --bg-body-end: #1a1a1a;
    --bg-body-gradient: linear-gradient(135deg, var(--bg-body-start) 0%, var(--bg-body-end) 100%);
    
    --bg-sidebar-start: #1e1e1e;
    --bg-sidebar-end: #2a2a2a;
    --bg-sidebar-gradient: linear-gradient(180deg, var(--bg-sidebar-start) 0%, var(--bg-sidebar-end) 100%);
    
    --bg-content-start: #1a1a1a;
    --bg-content-end: #2d2d2d;
    --bg-content-gradient: linear-gradient(135deg, var(--bg-content-start) 0%, var(--bg-content-end) 100%);
    
    /* Text Colors */
    --text-primary: #e5e5e5;
    --text-secondary: #999;
    --text-tertiary: #ccc;
    --text-white: #fff;
    --text-muted: #666;
    
    /* Border Colors */
    --border-primary: rgba(255, 255, 255, 0.08);
    --border-secondary: #444;
    --border-active: #667eea;
    
    /* UI Element Colors */
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-card-hover: rgba(255, 255, 255, 0.1);
    --bg-overlay: rgba(255, 255, 255, 0.02);
    
    /* Status Colors */
    --color-danger: #ff6b6b;
    --bg-danger: rgba(255, 75, 75, 0.1);
    --border-danger: rgba(255, 75, 75, 0.3);
    
    /* Special Colors */
    --scale-bg: #4a5568;
    --scale-border: #5a6478;
    --scale-marker-primary: #b8c5d1;
    --scale-marker-secondary: #e2e8f0;
    --scale-marker-tertiary: #8896a4;
    
    /* Font Sizes */
    --font-size-xs: 0.7rem;
    --font-size-sm: 0.8rem;
    --font-size-base: 0.9rem;
    --font-size-md: 1rem;
    --font-size-lg: 1.1rem;
    --font-size-xl: 1.2rem;
    --font-size-2xl: 1.3rem;
    --font-size-3xl: 1.5rem;
    --font-size-4xl: 1.8rem;
    --font-size-5xl: 2rem;
    --font-size-6xl: 3rem;
    --font-size-icon-lg: 4rem;
    
    /* Font Weights */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    /* Spacing */
    --spacing-xs: 0.2rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    
    --radius-sm: 3px;
    --radius-md: 4px;
    --radius-lg: 6px;
    --radius-xl: 8px;
    --radius-2xl: 10px;
    --radius-full: 50%;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-smooth: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.3);
    --shadow-primary: 0 4px 12px rgba(102, 126, 234, 0.3);
    --shadow-primary-lg: 0 8px 32px rgba(102, 126, 234, 0.3);
}

/* ========================================
   BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #1A1A1A;
    color: var(--text-primary);
    height: 100vh;
    overflow: hidden;
}

.container {
    display: flex;
    height: 100vh;
}

/* ========================================
   SIDEBAR STYLES
   ======================================== */
.sidebar {
    width: 280px;
    min-width: 280px;
    background: #1A1A1A;
    border-right: 1px solid #2a2a2a;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/* -- Logo Section -- */
.logo {
    padding: 1rem 1.2rem;
    text-align: left;
    flex-shrink: 0;
}

/* -- Navigation Menu -- */
.nav-menu {
    padding: 1rem 0;
    flex-grow: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.nav-menu::-webkit-scrollbar {
    width: 0;
}

.nav-section-title {
    color: #666;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 1.2rem;
    margin-top: 1rem;
}

.nav-section-title:first-child {
    margin-top: 0;
}

.nav-item {
    cursor: pointer;
    padding: 0.75rem 1.2rem;
    transition: all 0.2s ease;
    position: relative;
    border: none;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.nav-item.active {
    background: rgba(102, 126, 234, 0.15);
    color: #667eea;
}

.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #667eea;
}

.nav-icon {
    font-size: 1.1rem;
    opacity: 0.8;
    flex-shrink: 0;
}

.nav-item h3 {
    font-size: 0.9rem;
    font-weight: 400;
    margin: 0;
    color: #e5e5e5;
    flex-grow: 1;
}

.nav-item.active h3 {
    color: #667eea;
    font-weight: 500;
}

.nav-item p {
    display: none;
}

/* -- Login Section -- */
.login-section {
    padding: 1.2rem;
    background: #1C1C1C;
    border-top: 1px solid #2a2a2a;
    flex-shrink: 0;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.login-form input {
    background: #2a2a2a;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 0.6rem 0.8rem;
    color: #e5e5e5;
    font-size: 0.85rem;
}

.login-form input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.login-form button {
    background: #667eea;
    border: none;
    border-radius: 6px;
    padding: 0.6rem;
    color: white;
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.login-form button:hover {
    background: #5a6fd8;
    transform: translateY(-1px);
}

.register-link {
    text-align: center;
    margin-top: 0.75rem;
}

.register-link a {
    color: #667eea;
    text-decoration: none;
    font-size: 0.8rem;
}

.register-link a:hover {
    text-decoration: underline;
}

/* -- Profile Section -- */
.profile-section {
    padding: 0;
    border-top: 1px solid #2a2a2a;
    background: #1A1A1A;
    flex-shrink: 0;
    margin-bottom: 0;
}

.profile-dropdown {
    position: relative;
}

.profile-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.2rem;
    cursor: pointer;
    transition: background 0.2s ease;
    width: 100%;
    border: none;
    background: transparent;
}

.profile-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
}

.profile-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #667eea;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
}

.profile-info {
    flex-grow: 1;
    text-align: left;
    min-width: 0;
}

.profile-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #ffffff;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.profile-plan {
    font-size: 0.75rem;
    color: #999;
    margin-top: 0.2rem;
}

.profile-plan.pro {
    color: #667eea;
}

.dropdown-arrow {
    color: #666;
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.profile-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.profile-dropdown-menu {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: #2a2a2a;
    border: 1px solid #333;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    display: none;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.profile-dropdown.open .profile-dropdown-menu {
    display: block;
}

.dropdown-header {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid #333;
}

.dropdown-email {
    font-size: 0.8rem;
    color: #999;
    margin: 0;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.75rem 1.2rem;
    text-align: left;
    background: transparent;
    border: none;
    color: #e5e5e5;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background 0.2s ease;
    text-decoration: none;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.dropdown-divider {
    height: 1px;
    background: #333;
    margin: 0.5rem 0;
}

.dropdown-item.danger {
    color: #ff6b6b;
}

.dropdown-item.danger:hover {
    background: rgba(255, 107, 107, 0.1);
}

/* ========================================
   MAIN CONTENT STYLES
   ======================================== */
.main-content {
    width: 80%;
    position: relative;
    overflow: hidden;
}

.tab-content {
    display: none;
    height: 100vh;
    padding: var(--spacing-2xl);
    animation: fadeIn var(--transition-slow) ease-in-out;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.1) 0%, transparent 50%),
        var(--bg-content-gradient);
    position: relative;
    overflow-y: auto;
}

.tab-content.active {
    display: block;
}

.tab-header {
    position: relative;
    z-index: 1;
    margin-bottom: var(--spacing-xl);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.tab-header h1 {
    font-size: var(--font-size-6xl);
    font-weight: var(--font-weight-extrabold);
    margin-bottom: var(--spacing-md);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   CARD COMPONENT
   ======================================== */
.card {
    background: var(--bg-overlay); /*Früher rgba(255, 255, 255, 0.04);*/
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    backdrop-filter: blur(20px);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.card h2 {
    color: var(--text-white);
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-3xl);
}

/* ========================================
   BUTTON STYLES
   ======================================== */
.btn-primary {
    background: var(--primary-gradient-start);
    border: 1px solid transparent;
    border-radius: var(--radius-lg);
    padding: 0.8rem 1.5rem;
    color: white;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all var(--transition-base);
    font-size: var(--font-size-md);
    white-space: nowrap;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-primary);
}

.btn-secondary {
    background: var(--bg-overlay);
    border: 1px solid var(--border-secondary);
    border-radius: var(--radius-lg);
    padding: 0.8rem 1.5rem;
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all var(--transition-base);
    font-size: var(--font-size-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    white-space: nowrap;
}

.btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--border-active);
    transform: translateY(-1px);
}

.btn-secondary.active {
    border-color: var(--border-active);
}

.btn-danger {
    background: var(--bg-danger);
    border: 1px solid var(--border-danger);
    border-radius: var(--radius-lg);
    padding: 0.8rem 1.5rem;
    color: var(--color-danger);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all var(--transition-base);
    font-size: var(--font-size-md);
    white-space: nowrap;
}

.btn-danger:hover {
    background: rgba(255, 75, 75, 0.2);
    border-color: rgba(255, 75, 75, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.2);
}

/* ========================================
   LOGIN PROMPT STYLES
   ======================================== */
.login-prompt {
    max-width: 600px;
    margin: var(--spacing-2xl) auto;
    text-align: center;
    padding: var(--spacing-2xl);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    backdrop-filter: blur(20px);
}

.login-prompt-icon {
    font-size: var(--font-size-icon-lg);
    margin-bottom: var(--spacing-lg);
    opacity: 0.8;
}

.login-prompt h2 {
    color: var(--text-white);
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
}

.login-prompt p {
    color: var(--text-tertiary);
    line-height: 1.8;
    font-size: var(--font-size-lg);
}

.login-prompt-actions {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--border-secondary);
}

.login-prompt-features {
    margin: var(--spacing-xl) 0;
    text-align: left;
    background: rgba(102, 126, 234, 0.1);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.login-prompt-features h3 {
    color: var(--primary-gradient-start);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.login-prompt-features ul {
    list-style: none;
    padding: 0;
}

.login-prompt-features li {
    color: var(--text-primary);
    margin: 0.8rem 0;
    padding-left: var(--spacing-lg);
    position: relative;
}

.register-link-inline {
    color: var(--primary-gradient-start) !important;
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    transition: color var(--transition-base);
}

.register-link-inline:hover {
    color: var(--primary-gradient-end);
    text-decoration: underline;
}

/* ========================================
   LEGAL LINKS STYLES
   ======================================== */
.legal-links-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-links-footer a {
    color: #666;
    font-size: 0.75rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-links-footer a:hover {
    color: #999;
}

.legal-links-footer .separator {
    color: #444;
    margin: 0 0.5rem;
    font-size: 0.65rem;
}

.dropdown-legal-section {
    position: relative;
}

.dropdown-legal-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.legal-arrow {
    transition: transform 0.2s ease;
    color: #666;
}

.dropdown-legal-section.expanded .legal-arrow {
    transform: rotate(90deg);
}

.dropdown-legal-submenu {
    display: none;
    background: rgba(0, 0, 0, 0.3);
}

.dropdown-legal-section.expanded .dropdown-legal-submenu {
    display: block;
}

.dropdown-subitem {
    font-size: 0.825rem;
    color: #ccc;
}

.dropdown-subitem:hover {
    color: #e5e5e5;
    background: rgba(255, 255, 255, 0.03);
}

/* ========================================
   SIDEBAR TOGGLE STYLES
   ======================================== */
.sidebar-toggle-btn {
    background: transparent;
    border: none;
    color: #e5e5e5;
    cursor: pointer;
    padding: 0.5rem;
    /*margin-right: 0.5rem;*/
    border-radius: 6px;
    transition: all 0.2s ease;
    width: 30px;
    height: 30px;
    position: relative;
}

@media (max-width: 768px) {
    .sidebar-toggle-btn {
        display: none;
    }
}

.sidebar-toggle-btn::before,
.sidebar-toggle-btn::after {
    content: '';
    width: 22px;
    height: 2px;
    background: #e5e5e5;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    border-radius: 1px;
}

.sidebar-toggle-btn::before {
    transform: translate(-50%, calc(-50% - 4px));
}

.sidebar-toggle-btn::after {
    transform: translate(-50%, calc(-50% + 4px));
}

@media (min-width: 769px) {
    .sidebar-toggle-btn {
        display: inline-block;
    }
    
    .logo {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }
}

/* Collapsed Sidebar Styles (Desktop only) */
@media (min-width: 769px) {
    .sidebar.collapsed {
        width: 70px;
        min-width: 70px;
        transition: width 0.3s ease;
    }
    
    .sidebar.collapsed .nav-item h3,
    .sidebar.collapsed .nav-section-title {
        display: none;
    }
    
    .sidebar.collapsed .nav-item {
        justify-content: center;
        padding: 0.75rem 0;
    }
    
    .sidebar.collapsed .nav-icon {
        font-size: 1.3rem;
    }
    
    .sidebar.collapsed .profile-info,
    .sidebar.collapsed .dropdown-arrow {
        display: none;
    }
    
    .sidebar.collapsed .profile-toggle {
        justify-content: center;
        padding: 1rem 0;
    }
    
    .sidebar.collapsed .profile-dropdown-menu {
        left: 100%;
        margin-left: 0.5rem;
        width: 250px;
    }
    
    .sidebar.collapsed .login-form,
    .sidebar.collapsed .register-link,
    .sidebar.collapsed .legal-links-footer {
        display: none;
    }
    
    .main-content.expanded {
        width: calc(100% - 70px);
        transition: width 0.3s ease;
    }
    
    .sidebar.collapsed .nav-item {
        position: relative;
    }
    
    .sidebar.collapsed .nav-item::after {
        content: attr(data-tooltip);
        position: absolute;
        left: 100%;
        top: 50%;
        transform: translateY(-50%);
        background: #2a2a2a;
        color: #e5e5e5;
        padding: 0.5rem 1rem;
        border-radius: 6px;
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
        margin-left: 1rem;
        font-size: 0.875rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        z-index: 1000;
    }
    
    .sidebar.collapsed .nav-item:hover::after {
        opacity: 1;
    }
}





/* Neuer Mobile Menu Button */
@media (max-width: 768px) {
    .sidebar .logo {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1.2rem;
    }
    
    .mobile-menu-btn {
        display: block;
        background: transparent;
        border: none;
        color: #e5e5e5;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0.5rem;
        margin-left: auto;
    }
}

@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none !important;
    }
}

/* ========================================
   LOGO STYLES
   ======================================== */
    
    /* ========================================
   LOGO TEXT STYLES - NEU
   ======================================== */
.logo-text {
    font-size: 1.4rem;
    font-weight: var(--font-weight-bold);
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #ffffff 0%, #e5e5e5 50%, #cccccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: opacity 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
    letter-spacing: -0.5px;
    margin-left: 10px;
}

/* Desktop Collapsed Sidebar */
@media (min-width: 769px) {
    .sidebar.collapsed .logo-text {
        display: none;
    }
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .logo-text {
        margin-left: 7px;
    }
}

/* ========================================
   MATERIAL SYMBOLS
   ======================================== */
.material-symbols-outlined {
    font-variation-settings:
    'FILL' 0,
    'wght' 200,
    'GRAD' 0,
    'opsz' 24;
    color: #9E9E9E;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Neu (ohne mobile navbar) */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        padding-top: 0;
        margin-top: 0;
        height: 100vh;
    }
    
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: calc(100vh - 56px); /* WICHTIG: Platz für Bottom Nav */
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999; /* Unter der Bottom Nav */
        overflow-y: auto;
        background: #1A1A1A;
        bottom: 56px; /* WICHTIG: Bottom Nav Höhe */
    }
    
    .sidebar.mobile-open {
        transform: translateX(0) !important; /* WICHTIG: !important für Priorität */
    }
    
    .sidebar .logo {
        display: flex !important; /* Geändert - Logo bleibt sichtbar */
        background-color: #1A1A1A;
    }
    
    .sidebar.mobile-open .nav-menu {
        padding-top: 1.5rem;
        border-top: none !important;
        background-color: #1A1A1A;
    }
    
    .sidebar::before {
        display: none !important;
    }
    
    .main-content {
        width: 100%;
        margin-left: 0;
        position: relative;
        z-index: 1;
        padding-top: 0;
        margin-top: 0;
    }
    
    .tab-content {
        min-height: 100vh; 
        padding: 1.5rem 1rem;
        background: var(--bg-content-start); 
    }
    
    .tab-header {
        margin-top: 0;
    }
    
    .sidebar-toggle-btn {
        display: none !important;
    }
    
    .sidebar.mobile-open .nav-item {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }
    
    .sidebar.mobile-open .nav-icon {
        font-size: 1.3rem;
    }
    
    .sidebar.mobile-open .nav-item h3 {
        font-size: 1rem;
    }
    
    .mobile-sidebar-close {
        display: none !important;
    }
}

/* ========================================
   MOBILE OPTIMIZATION BASE
   ======================================== */
@media (max-width: 768px) {
    :root {
        --font-size-xs: 0.75rem;
        --font-size-sm: 0.875rem;
        --font-size-base: 1rem;
        --font-size-md: 1.1rem;
        --font-size-lg: 1.2rem;
        --font-size-xl: 1.3rem;
        --font-size-2xl: 1.5rem;
        --font-size-3xl: 1.75rem;
        --font-size-4xl: 2rem;
        --font-size-5xl: 2.25rem;
        --font-size-6xl: 2.5rem;
        
        --spacing-xs: 0.25rem;
        --spacing-sm: 0.5rem;
        --spacing-md: 0.75rem;
        --spacing-lg: 1rem;
        --spacing-xl: 1.5rem;
        --spacing-2xl: 2rem;
    }
    
    .tab-header {
        text-align: center;
        margin-bottom: var(--spacing-lg);
    }
    
    .tab-header h1 {
        font-size: 1.9rem;
        line-height: 1.2;
        margin-bottom: 20px;
        text-align: left;
    }
    
    .tab-header p {
        font-size: var(--font-size-md);
        line-height: 1.5;
        padding: 0 var(--spacing-md);
    }
    
    .card {
        padding: var(--spacing-lg);
        margin-bottom: var(--spacing-lg);
        border-radius: var(--radius-xl);
    }
    
    .card h2 {
        font-size: var(--font-size-2xl);
        margin-bottom: var(--spacing-md);
    }
    
    .form-row {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .flex-1, .flex-2, .flex-0 {
        flex: none;
        width: 100%;
    }
    
    .form-control {
        font-size: 16px;
        padding: 0.75rem;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        padding: 0.875rem;
        font-size: var(--font-size-md);
    }
    
    .login-prompt {
        padding: var(--spacing-lg);
        margin: var(--spacing-lg) var(--spacing-sm);
    }
    
    .login-prompt h2 {
        font-size: var(--font-size-2xl);
    }
    
    .login-prompt p {
        font-size: var(--font-size-md);
        line-height: 1.6;
    }
    
    .login-prompt-icon {
        font-size: var(--font-size-6xl);
    }
    
    .login-prompt-features {
        padding: var(--spacing-md);
    }
    
    .login-prompt-features li {
        font-size: var(--font-size-sm);
        margin: 0.5rem 0;
    }
}

@media (max-width: 480px) {
    :root {
        --font-size-6xl: 2rem;
        --spacing-2xl: 1.5rem;
    }
    
    .tab-content {
        padding: var(--spacing-md);
    }
    
    .card {
        padding: var(--spacing-lg);
    }
    
    .form-group label {
        font-size: var(--font-size-sm);
        margin-bottom: 0.6rem;
    }
}

@media (pointer: coarse) {
    .nav-item {
        min-height: 48px;
    }
    
    button, .btn-primary, .btn-secondary {
        min-height: 44px;
    }
    
    .form-control, select {
        min-height: 44px;
    }
    
    .dropdown-item {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* ========================================
   MOBILE BOTTOM NAVIGATION
   ======================================== */


    /* Mobile Bottom Navigation - ULTIMATE FIX */
@media (max-width: 768px) {
    /* Container Reset */
    .container {
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* Sidebar mit inline styles überschreiben */
    .sidebar#sidebar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        height: 100vh !important;
        transform: translateX(-100%) !important;
        transition: transform 0.3s ease !important;
        z-index: 9999 !important;
        overflow-y: auto !important;
        background: #1C1C1C !important;
        display: flex !important;
        flex-direction: column !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        border-right: none !important;
    }
    
    .sidebar#sidebar.mobile-open {
        transform: translateX(0) !important;
    }
    
    .logo-image {
        margin-left: 7px;
    }
    
    /* Main content full width */
    .main-content {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        z-index: 1 !important;
        /* Berücksichtigt die dynamische Höhe der Navigation */
        padding-bottom: calc(56px + max(0.5rem, env(safe-area-inset-bottom))) !important;
    }
        
    /* Dark Overlay */
    .sidebar-overlay {
        display: none;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0, 0, 0, 0.5) !important;
        z-index: 9998 !important;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    body.sidebar-open .sidebar-overlay {
        display: block !important;
        opacity: 1 !important;
    }
    
    /* Bottom Navigation */
    .mobile-bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 0 0.5rem;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: calc(50px + 2rem);
        background: #1C1C1C;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 10000 !important;
        
        /* Safe Area Support - DIREKT HIER */
        padding-bottom: max(0.5rem, env(safe-area-inset-bottom)) !important;
    }
    
    /* Mobile Menu Button */
    .mobile-menu-btn {
        display: block !important;
    }
    
    /* Hide desktop elements */
    .sidebar-toggle-btn {
        display: none !important;
    }
    
    /* Bottom Nav Items */
    .bottom-nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0rem 0.5rem 1rem 0.5rem;
        color: #999;
        cursor: pointer;
        transition: color 0.2s;
    }
    
    .bottom-nav-item.active {
        color: #667eea;
    }
    
    .bottom-nav-item:hover {
        color: #667eea;
    }
    
    .bottom-nav-label {
        font-size: 0.75rem;
        margin-top: 0.25rem;
    }
    
    /* Tab Content Padding anpassen */
        .tab-content {
            padding: 1.5rem 1rem;
            /* Berücksichtigt die Navigation + Safe Area */
            padding-bottom: calc(1.5rem + 56px + max(5rem, env(safe-area-inset-bottom))) !important;
            min-height: calc(100vh - 56px) !important;
        }
}

/* Fallback für ältere Geräte */
@media (max-width: 768px) {
    html, body {
        height: 100%;
        overflow-x: hidden;
    }
    
    body {
        position: relative;
        min-height: 100vh;
        min-height: -webkit-fill-available;
    }
}

/* Mobile Close Button Styles */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: none !important; /* Verstecke den alten Menu Button */
    }
    
    .mobile-close-btn {
        display: none;
        background: transparent;
        border: none;
        color: #e5e5e5;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0.5rem;
        margin-left: auto;
        z-index: 10002;
        transition: all 0.2s ease;
    }
    
    .mobile-close-btn:hover {
        color: #ff6b6b;
        transform: rotate(90deg);
    }
    
    /* Zeige Close Button wenn Sidebar offen ist */
    .sidebar.mobile-open .mobile-close-btn {
        display: block !important;
    }
}

@media (min-width: 769px) {
    .mobile-close-btn {
        display: none !important;
    }
}


/* ========================================
   MOBILE SIDEBAR - NUR SCHRIFTGRÖSSEN ANPASSUNG
   ======================================== */

@media (max-width: 768px) {
    /* Sidebar Container - vollständige Höhe aber mit flex layout */
    .sidebar {
        height: 100vh !important;
        bottom: 0 !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* Navigation Menu - scrollbar mit Platz für Login */
    .sidebar .nav-menu {
        flex: 1 !important;
        overflow-y: auto !important;
        padding-bottom: 2rem !important;
    }
    
    /* Login/Profile Section - immer am unteren Rand sichtbar */
    .sidebar .login-section,
    .sidebar .profile-section {
        flex-shrink: 0 !important;
        margin-bottom: 80px !important; /* Platz für Bottom Nav */
        z-index: 10001 !important;
    }
    /* Navigation Text - Kleinere Schrift */
    .sidebar .nav-item h3 {
        font-size: 0.85rem;
    }
    
    /* Navigation Icons - Kleinere Icons */
    .sidebar .nav-item {
        font-size: 1.1rem;
    }
    
    /* Section Titles - Kleinere Schrift */
    .sidebar .nav-section-title {
        font-size: 0.7rem;
    }
    
    /* Profile Name - Kleinere Schrift */
    .sidebar .profile-name {
        font-size: 0.85rem;
    }
    
    /* Profile Plan - Kleinere Schrift */
    .sidebar .profile-plan {
        font-size: 0.7rem;
    }
    
    /* Dropdown Items - Kleinere Schrift */
    .sidebar .dropdown-item {
        font-size: 0.8rem;
    }
    
    /* Dropdown Email - Kleinere Schrift */
    .sidebar .dropdown-email {
        font-size: 0.75rem;
    }
    
    /* Login Form Inputs - Kleinere Schrift */
    .sidebar .login-form input {
        font-size: 0.85rem;
    }
    
    /* Login Button - Kleinere Schrift */
    .sidebar .login-form button {
        font-size: 0.85rem;
        color: white !important;
    }
    
    /* Register Link - Kleinere Schrift */
    .sidebar .register-link a {
        font-size: 0.8rem;
    }
    
    /* Legal Links - Kleinere Schrift */
    .sidebar .legal-links-footer a {
        font-size: 0.7rem;
    }
    
    .sidebar.mobile-open .nav-menu {
        padding-top: 0px !important; /*gibt ne 2te regel die du scuhen musst und übershcreiben musst*/
    }
}

/* Noch kleinere Smartphones - Weitere Schriftverkleinerung */
@media (max-width: 480px) {
    .sidebar .nav-item h3 {
        font-size: 0.8rem;
    }
    
    .sidebar .nav-item .material-symbols-outlined {
        font-size: 1rem;
    }
}

/* Mobile Bottom Navigation - Browser vs App Unterscheidung */
@media (max-width: 768px) {
    /* Standard (App-Version) - NICHTS ÄNDERN */
    .mobile-bottom-nav {
        /* Behalte alle bestehenden Styles */
    }
    
    /* NUR Browser-Version - Zentrierung mit kleinem Padding */
    .mobile-bottom-nav.in-browser {
        display: flex;
        align-items: center !important;
        padding-top: 0px !important;
        padding-bottom: max(5px, env(safe-area-inset-bottom)) !important;
        height: calc(64px + env(safe-area-inset-bottom)) !important;
    }
    
    .mobile-bottom-nav.in-browser .bottom-nav-item {
        padding: 0 0.5rem !important;
        height: 56px !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}

/*----- 
Das der Nutzer nicht ausvershen zommed 
---*/
@media (max-width: 768px) {
    /* Verhindert Zoom bei Input-Focus auf iOS */
    input, textarea, select {
        font-size: 16px !important;
    }
    
    /* Für kleinere Screens anpassen */
    @media (max-width: 480px) {
        input, textarea, select {
            font-size: 16px !important;
        }
    }
}






/* ========================================
   YOUTUBE VIDEO INTEGRATION FOR LOGIN PROMPTS - 16:9 ASPECT RATIO
   ======================================== */
.login-prompt-video {
    width: 100%;
    margin-bottom: 2rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: #000;
    position: relative;
    /* 16:9 Aspect Ratio Container */
    padding-bottom: 56.25%; /* (9/16) * 100% = 56.25% */
    height: 0;
    box-shadow: var(--shadow-lg);
}

.login-prompt-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Mobile Optimierungen */
@media (max-width: 768px) {
    .login-prompt-video {
        margin-bottom: 1.5rem;
        border-radius: var(--radius-lg); /* Kleinerer Radius auf Mobile */
    }
    
    .login-prompt-video iframe {
        border-radius: var(--radius-lg);
    }
    
    /* Entfernt Box Shadow auf Mobile */
    .login-prompt-video {
        box-shadow: none;
    }
}

@media (max-width: 480px) {
    .login-prompt-video {
        margin-bottom: 1rem;
    }
}

/* ========================================
   HELP CENTER DROPDOWN STYLES
   ======================================== */
.dropdown-nav-item {
    position: relative;
    justify-content: space-between;
}

.dropdown-nav-item .dropdown-arrow {
    font-size: 0.75rem;
    color: #666;
    transition: transform 0.3s ease;
    margin-left: auto;
}

.dropdown-nav-item.open .dropdown-arrow {
    transform: rotate(180deg);
    color: #667eea;
}

.nav-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
    margin: 0;
}

.nav-dropdown-menu.open {
    max-height: 300px;
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.2rem 0.75rem 3rem;
    color: #ccc;
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    font-size: 0.85rem;
}

.nav-dropdown-item:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border-left-color: #667eea;
}

.nav-dropdown-item .material-symbols-outlined {
    font-size: 1rem;
    opacity: 0.7;
}

.nav-dropdown-item:hover .material-symbols-outlined {
    opacity: 1;
    color: #667eea;
}

/* Collapsed Sidebar Styles */
@media (min-width: 769px) {
    .sidebar.collapsed .dropdown-nav-item .dropdown-arrow,
    .sidebar.collapsed .nav-dropdown-menu {
        display: none;
    }
    
    .sidebar.collapsed .dropdown-nav-item {
        justify-content: center;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-dropdown-item {
        padding: 0.875rem 1.5rem 0.875rem 3.5rem;
        font-size: 0.9rem;
        min-height: 48px;
    }
    
    .nav-dropdown-item .material-symbols-outlined {
        font-size: 1.1rem;
    }
    
    .dropdown-nav-item .dropdown-arrow {
        font-size: 0.8rem;
    }
}

/* ========================================
   NAV ICON SVG STYLES
   ======================================== */
.nav-icon-svg {
    width: 1.5rem;        /* 24px Desktop */
    height: 1.5rem;       
    opacity: 0.8;
    flex-shrink: 0;
    filter: brightness(0) saturate(100%) invert(62%) sepia(0%) saturate(0%) hue-rotate(180deg) brightness(98%) contrast(87%);
    transition: opacity 0.2s ease;
}

.sidebar.collapsed .nav-icon-svg {
    width: 1.625rem;      /* 26px - collapsed state */
    height: 1.625rem;     
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .sidebar.mobile-open .nav-icon-svg {
        width: 1.625rem;  /* 26px - Mobile Sidebar */
        height: 1.625rem; 
    }
    
    /* HIER WAR DAS PROBLEM - zu klein für Bottom Nav */
    .bottom-nav-item .nav-icon-svg {
        width: 1.5rem;    /* 24px - Mobile Bottom Navigation */
        height: 1.5rem;   /* 24px - Mobile Bottom Navigation */
    }
}

/* ========================================
   MOBILE FORM GROUP SPACING FIX
   ======================================== */
@media (max-width: 768px) {
    /* Kleinere Abstände für alle Form Groups auf Mobile */
    .form-group {
        margin-bottom: 1.2rem;
    }
    
    /* Peptide Calculator behält die ursprünglichen Abstände */
    #analytics .form-group {
        margin-bottom: 2.1rem;
    }
    
    /* Besonders kompakte Abstände für dichte Formulare */
    #projects .form-group,
    #team .form-group,
    #blend .form-group,
    #settings .form-group,
    #order-calculator .form-group {
        margin-bottom: 1rem;
    }
    
    /* Noch kompaktere Abstände für Multi-Input Rows */
    .form-row .form-group {
        margin-bottom: 0.8rem;
    }
    
    /* Letzte Form Group in einem Container hat weniger Abstand */
    .form-row .form-group:last-child,
    .card .form-group:last-child {
        margin-bottom: 1.5rem;
    }
}

/* Für sehr kleine Screens noch kompakter */
@media (max-width: 480px) {
    .form-group {
        margin-bottom: 1rem;
    }
    
    #analytics .form-group {
        margin-bottom: 1.8rem;
    }
    
    #projects .form-group,
    #team .form-group,
    #blend .form-group,
    #settings .form-group,
    #order-calculator .form-group {
        margin-bottom: 0.8rem;
    }
    
    .form-row .form-group {
        margin-bottom: 0.6rem;
    }
}

/* ========================================
   UNIVERSAL DESCRIPTION INTRO - SHARED FOR BLEND AND ORDER CALCULATOR
   ======================================== */
.description-intro {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.description-intro p {
    color: #ccc;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
    padding-right: 20px;
}

.description-intro-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    color: rgba(102, 126, 234, 0.6);
    font-size: 20px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.description-intro-close:hover {
    background: rgba(102, 126, 234, 0.1);
    color: rgba(102, 126, 234, 0.8);
    transform: scale(1.1);
}

.description-intro.hidden {
    display: none;
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .description-intro {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .description-intro p {
        font-size: 0.9rem;
        line-height: 1.5;
        padding-right: 35px;
    }
    
    .description-intro-close {
        top: 8px;
        right: 12px;
        font-size: 18px;
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .description-intro {
        padding: 0.875rem;
        margin-bottom: 1.25rem;
    }
    
    .description-intro p {
        font-size: 0.85rem;
    }
}

/* ========================================
   SECTION HEADER STYLES - ENHANCED
   ======================================== */
.section-icon .material-symbols-outlined {
    font-size: 24px;
    color: white !important;
    position: relative;
    z-index: 1;
}

.section-title {
    flex: 1;
}

.section-title h2 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.section-subtitle {
    margin: 0;
    color: #999;
    font-size: 0.9rem;
}

.clickable-header {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.clickable-header:hover {
    background: rgba(255, 255, 255, 0.03);
}

.clickable-header:active {
    background: rgba(255, 255, 255, 0.05);
}

/* ========================================
   FORM CONTROL STYLES - GENERAL
   ======================================== */
.form-group {
    margin-bottom: 2.1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.9rem;
    color: var(--text-primary) !important;
    font-size: var(--font-size-md) !important;
    font-weight: var(--font-weight-semibold) !important;
} 

.form-control {
    width: 100%;
    padding: 0.8rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-size: var(--font-size-md);
}

.form-control:focus {
    outline: none;
    border-color: var(--border-active);
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

.form-row {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-end;
}

.flex-1 {
    flex: 1;
}

.flex-2 {
    flex: 2;
}

.flex-0 {
    flex: 0;
}

/* ========================================
   MEDICAL DISCLAIMER
   ======================================== */
.medical-disclaimer {
    background-color: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 0.6rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.medical-disclaimer .disclaimer-title {
    color: rgb(248, 113, 113);
}

.medical-disclaimer p {
    line-height: 1.4;
    padding: 0.75rem 0rem;
}

/* ========================================
   MOBILE SAFARI STATUS BAR SHADOW FIX
   ======================================== */
@media (max-width: 768px) {
    /* Entfernt Schatten vom Status Bar Bereich */
    html {
        -webkit-appearance: none;
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }
    
    body {
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        border-top: none !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    /* Entfernt mögliche Schatten von der Viewport-Meta-Konfiguration */
    body::before {
        display: none !important;
    }
    
    /* Spezifisch für iOS Safari */
    .container {
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        border-top: none !important;
    }
    
    /* Entfernt Schatten von Header/Top-Bereichen */
    .tab-header,
    .main-content,
    .sidebar {
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        border-top: none !important;
    }
    
    /* iOS spezifische Status Bar Fixes */
    @supports (-webkit-touch-callout: none) {
        html {
            -webkit-appearance: none !important;
        }
        
        body {
            -webkit-appearance: none !important;
            -webkit-box-shadow: none !important;
        }
        
        /* Verhindert Standard-Browser-Schatten */
        * {
            -webkit-box-shadow: none !important;
            box-shadow: none !important;
        }
        
        *::before,
        *::after {
            -webkit-box-shadow: none !important;
            box-shadow: none !important;
        }
    }
}

/* Zusätzlich für PWA/Standalone Mode */
@media (display-mode: standalone) {
    html, body {
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }
}


    @media (max-width: 768px) {
        .login-prompt-features li {
            line-height: 1.5 !important;
            font-size: 0.8rem !important;
            padding-left: 0.2rem !important;
        }
    }
    
         /* ========================================
           LOGIN LINK STYLES FÜR MOBILE SIDEBAR
           ======================================== */
        
        /* Base Styles für Login Link */
        .login-link {
            color: #667eea;
            text-decoration: none;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.2s ease;
            display: inline;
            line-height: inherit;
            padding: 0;
            margin: 0;
        }
        
        .login-link:hover {
            color: #5a6fd8;
            text-decoration: none;
        }
    

/* Mobile White Mode */
@media (max-width: 768px) {
    .login-link {
        color: var(--primary-gradient-start) !important;;
        text-decoration: none !important;
        cursor: pointer !important;
        font-weight: var(--font-weight-semibold) !important;
        transition: all 0.2s ease !important;
        display: inline !important;
        line-height: inherit !important;
        padding: 0 !important;
        margin: 0 !important;
        min-height: auto !important;
    }
    
    .login-link:hover {
        color: var(--mobile-accent-2) !important;
        text-decoration: none !important;
    }
    
    .login-link:active {
        transform: scale(0.98) !important;
    }
}

/* Touch-friendly für Mobile */
@media (hover: none) and (pointer: coarse) {
    .login-link {
        display: inline !important;
        line-height: inherit !important;
        padding: 2px 4px !important;
        margin: 0 !important;
        min-height: auto !important;
    }
    
    .login-link:hover {
        color: var(--mobile-accent) !important;
        text-decoration: none !important;
    }
    
    .login-link:active {
        background: var(--mobile-accent-soft) !important;
        border-radius: 4px !important;
        transform: scale(0.98) !important;
    }
}

/* Desktop - kein Sidebar-Verhalten */
@media (min-width: 769px) {
    .login-link {
        color:  inherit !important;
        cursor: default !important;
        text-decoration: none !important;
        font-weight: normal !important;
    }
    
    .login-link:hover {
        color: inherit !important;
        text-decoration: none !important;
    }
}
