/* Header Button and User Icon Fixes */

/* Small Button Styles */
.btn-small {
    padding: 8px 16px !important;
    font-size: 0.9rem !important;
    border-radius: 6px !important;
    margin: 0 5px !important;
}

/* Small User Photo */
.user-photo-small {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    margin-right: 8px !important;
    border: 2px solid #fff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}

/* Small User Name */
.user-name-small {
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    margin-right: 10px !important;
}

/* User Section Alignment */
.user-section {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.user-info {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* Auth Section Alignment */
.auth-section {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* Moving Banner Styles */
.moving-banner {
    background: linear-gradient(90deg, #667eea, #764ba2, #ff6b6b, #4ecdc4, #45b7d1);
    background-size: 500% 100%;
    animation: gradientMove 10s ease infinite;
    color: white;
    padding: 8px 0;
    overflow: hidden;
    position: relative;
    z-index: 100;
}

.banner-content {
    white-space: nowrap;
    animation: scrollBanner 40s linear infinite;
    font-weight: 600;
    font-size: 1rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes scrollBanner {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Header Responsive Fixes */
@media (max-width: 768px) {
    .btn-small {
        padding: 6px 12px !important;
        font-size: 0.8rem !important;
    }
    
    .user-photo-small {
        width: 28px !important;
        height: 28px !important;
    }
    
    .user-name-small {
        font-size: 0.8rem !important;
    }
    
    .banner-content {
        font-size: 0.9rem;
    }
    
    .moving-banner {
        padding: 6px 0;
    }
}

@media (max-width: 480px) {
    .btn-small {
        padding: 5px 10px !important;
        font-size: 0.75rem !important;
    }
    
    .user-photo-small {
        width: 24px !important;
        height: 24px !important;
    }
    
    .user-name-small {
        font-size: 0.75rem !important;
        max-width: 80px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .banner-content {
        font-size: 0.8rem;
    }
}