/* Auth Screen */
.auth-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-icon {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.logo-img {
    width: 100px;
    height: auto;
    margin-bottom: 0.75rem;
}

.auth-logo h1 {
    font-size: 1.75rem;
    color: var(--text);
}

.auth-form {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.auth-switch {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Header */
.app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.5rem;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.header-vereinsname {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.85;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

.header-btn {
    background: none;
    border: none;
    color: white;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.header-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Sidebar */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 150;
    animation: fadeIn 0.2s ease;
}

.sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: var(--sidebar-width);
    max-width: 85vw;
    height: 100vh;
    background: var(--bg-card);
    z-index: 160;
    box-shadow: var(--shadow-lg);
    transition: left 0.3s ease;
    overflow-y: auto;
}

.sidebar.open {
    left: 0;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
}

.sidebar-header .header-btn {
    color: var(--text);
}

.sidebar-title {
    font-weight: 700;
    font-size: 1.1rem;
}

.nav-list {
    list-style: none;
    padding: 0.5rem 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: background 0.15s;
    position: relative;
}

.nav-item:hover {
    background: var(--bg);
    text-decoration: none;
}

.nav-item.active {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-item .badge {
    margin-left: auto;
}

.nav-icon {
    font-size: 1.1rem;
    width: 1.5rem;
    text-align: center;
}

.nav-divider {
    padding: 0.75rem 1.25rem 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

/* Profile Dropdown */
.profile-dropdown {
    position: fixed;
    top: calc(var(--header-height) + 0.5rem);
    right: 0.75rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    min-width: 240px;
    z-index: 120;
    padding: 0.75rem;
    animation: modalIn 0.15s ease;
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.25rem 0.5rem;
}

.profile-info strong {
    font-size: 0.95rem;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: none;
    background: none;
    text-align: left;
    font-size: 0.9rem;
    font-family: var(--font);
    color: var(--text);
    cursor: pointer;
    border-radius: var(--radius);
    transition: background 0.15s;
}

.dropdown-item:hover {
    background: var(--bg);
}

.dropdown-item-danger {
    color: var(--danger);
}

/* Page Content */
.page-content {
    padding: calc(var(--header-height) + 1rem) 1rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.page-header h2 {
    font-size: 1.25rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive */
@media (max-width: 480px) {
    .page-content {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .card {
        padding: 1rem;
    }
}
