/* header-footer.css - Kompakte Header und Footer Styles */

/* Header */
.header {
    background: linear-gradient(135deg, var(--header-gradient-start) 0%, var(--header-gradient-end) 100%);
    color: #420332;
    padding: 1rem 0;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    min-height: 70px;
    display: flex;
    align-items: center;
}

.header-content {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 1.5rem;
    gap: 1.2rem;
}

.header-logo {
    flex-shrink: 0;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1);
}

.header-text {
    flex: 1;
}

.header-text h1 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.header-text p {
    opacity: 0.7;
    font-size: 0.9rem;
    margin: 0;
}

/* Header Auth - Kompakte Buttons */
.header-auth {
    flex-shrink: 0;
    margin-left: auto;
}

.btn-login, .btn-logout {
    padding: 0.5rem 1rem;
    background: var(--dark-gray);
    color: white;
    border: 1px solid #505050;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    height: 36px;
}

.btn-login:hover, .btn-logout:hover {
    background: var(--dark-gray-hover);
    border-color: #606060;
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-admin {
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    height: 36px;
    line-height: 1.2;
}

.btn-admin:hover {
    background: #d02847;
    border-color: #d02847;
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #420332;
}

.user-welcome {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.user-role {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Footer */
.footer {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--light-gray);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 0.8rem 0;
        min-height: 60px;
    }
    
    .header-content {
        padding: 0 1rem;
        gap: 0.8rem;
        flex-direction: column;
        text-align: center;
    }
    
    .header-auth {
        margin-left: 0;
        margin-top: 0.8rem;
    }
    
    .header-text h1 {
        font-size: 1.3rem;
        justify-content: center;
    }
    
    .header-text p {
        font-size: 0.8rem;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .btn-login, .btn-logout, .btn-admin {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
        height: 32px;
    }
    
    .footer {
        margin-top: 2rem;
        padding-top: 1.2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .user-info {
        flex-direction: column;
        gap: 0.6rem;
        text-align: center;
    }
    
    .user-welcome {
        flex-direction: column;
        gap: 0.2rem;
        font-size: 0.8rem;
    }
    
    .user-role {
        font-size: 0.7rem;
        padding: 0.1rem 0.4rem;
    }
}

@media (max-width: 480px) {
    .header-content {
        gap: 0.6rem;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .header-text h1 {
        font-size: 1.1rem;
    }
    
    .header-text p {
        font-size: 0.75rem;
    }
    
    .btn-login, .btn-logout, .btn-admin {
        padding: 0.35rem 0.7rem;
        font-size: 0.7rem;
        height: 30px;
    }
    
    .user-welcome {
        font-size: 0.75rem;
    }
    
    .user-role {
        font-size: 0.65rem;
        padding: 0.1rem 0.3rem;
    }
    
    .footer-links a {
        font-size: 0.8rem;
    }
}